1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-06 10:05:59 +02:00

rg: Only list matched files (#2302)

This commit is contained in:
Sam Stites 2018-09-06 09:46:53 -04:00 committed by Starbeamrainbowlabs
parent 73f0750f90
commit d1377d62c1

View file

@ -21,3 +21,7 @@
- Search for a pattern in files matching a glob (e.g., `README.*`):
`rg {{pattern}} -g {{glob}}`
- Only list matched files -- useful when piping to other commands:
`rg --files-with-matches {{pattern}}`