How to find individual words and their count? #1908
-
Consider the search pattern
and so on. What is the best way to accomplish this using ripgrep? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
For this very specific situation, this is what I would do:
I suspect what you're after is a way to run ripgrep once and get output similar to this. That is not possible. ripgrep does not have any way of reporting or acting upon which pattern matched. You could do something like this too though. Kinda depends on the actual problem you're trying to solve:
|
Beta Was this translation helpful? Give feedback.
For this very specific situation, this is what I would do:
I suspect what you're after is a way …