1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 09:15:31 +02:00

adding ack

This commit is contained in:
Morgan Evans 2014-10-01 18:02:25 -04:00
parent b557826325
commit 5a82ba202f

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

@ -0,0 +1,19 @@
# ack
> A search tool like grep, optimized for programmers.
- Find files containing "foo"
`ack {{foo}}`
- Find files in a specific language
`ack --ruby {{each_with_object}}`
- Count the total number of matches for the term "foo"
`ack -ch {{foo}}`
- Show the file names containing "foo" and number of matches in each file
`ack -cl {{foo}}`