Rathish.Kumar wrote: > How to get the count of matches, if the pattern matches more than > once in a single line.
For example by using an additional tool: $ echo nine one one | grep -o ne | wc -l 3 Benno
Rathish.Kumar wrote: > How to get the count of matches, if the pattern matches more than > once in a single line.
For example by using an additional tool: $ echo nine one one | grep -o ne | wc -l 3 Benno