How to show only list of files (without listed matching lines)? #2206
-
I would like to use ripgrep like: The problem is it it prints filepaths and also lines from those files:
But I would like to get only list of files like this:
How can I achieve it with ripgrep? |
Beta Was this translation helpful? Give feedback.
Answered by
BurntSushi
May 9, 2022
Replies: 1 comment
-
The same way you'd do it with plain on |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
karolzlot
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The same way you'd do it with plain on
grep
: via the-l/--files-with-matches
flag. Sorg -l "some phrase"
.