ack: add Chinese translation

italian
Starccy 2019-02-25 17:12:10 +08:00 committed by Agniva De Sarker
parent 0b7dc8f822
commit e3e6808b16
1 changed files with 19 additions and 0 deletions

19
pages.zh/common/ack.md Normal file
View File

@ -0,0 +1,19 @@
# ack
> 一个类似grep的搜索工具为程序员优化.
- 寻找包含"foo"的文件:
`ack {{foo}}`
- 在给定的语言中寻找文件:
`ack --ruby {{each_with_object}}`
- 计算匹配到"foo"的总次数:
`ack -ch {{foo}}`
- 列出内容包含"foo"的文件的文件名,并显示在每个文件中匹配的次数:
`ack -cl {{foo}}`