bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Query, [the number of singular matches]


From: Benno Schulenberg
Subject: Re: Query, [the number of singular matches]
Date: Mon, 10 Mar 2008 21:21:38 +0100
User-agent: KMail/1.9.9

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]