mirror of https://github.com/CrimsonTome/tldr.git
ack: add Chinese translation
parent
0b7dc8f822
commit
e3e6808b16
|
@ -0,0 +1,19 @@
|
|||
# ack
|
||||
|
||||
> 一个类似grep的搜索工具,为程序员优化.
|
||||
|
||||
- 寻找包含"foo"的文件:
|
||||
|
||||
`ack {{foo}}`
|
||||
|
||||
- 在给定的语言中寻找文件:
|
||||
|
||||
`ack --ruby {{each_with_object}}`
|
||||
|
||||
- 计算匹配到"foo"的总次数:
|
||||
|
||||
`ack -ch {{foo}}`
|
||||
|
||||
- 列出内容包含"foo"的文件的文件名,并显示在每个文件中匹配的次数:
|
||||
|
||||
`ack -cl {{foo}}`
|
Loading…
Reference in New Issue