List Files Where Matches in Above a Threashhold #2440
Answered
by
BurntSushi
blueray453
asked this question in
Q&A
-
I have a command like
The output is like
I want all files who have more than 10 matches (without the colon and number, so that I can pipe the output to another command). Like:
How can I do that? |
Beta Was this translation helpful? Give feedback.
Answered by
BurntSushi
Mar 3, 2023
Replies: 1 comment
-
I would use
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
blueray453
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would use
awk
to post-process your output. For example, from the root of the ripgrep repo: