mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-25 18:55:25 +02:00
Merge pull request #194 from tsigo/rs-ag
Add ag (the_silver_searcher) page
This commit is contained in:
commit
56a3514da1
1 changed files with 19 additions and 0 deletions
19
pages/common/ag.md
Normal file
19
pages/common/ag.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
# ag
|
||||
|
||||
> The Silver Searcher. Like ack, but faster.
|
||||
|
||||
- Find files containing "foo"
|
||||
|
||||
`ag foo`
|
||||
|
||||
- Find "foo" in files with a name matching "bar"
|
||||
|
||||
`ag foo -G bar`
|
||||
|
||||
- Find files whose contents match a regular expression:
|
||||
|
||||
`ag '^ba(r|z)$'`
|
||||
|
||||
- Find files with a name matching "foo"
|
||||
|
||||
`ag -g foo`
|
Loading…
Add table
Reference in a new issue