[Top][All Lists]
[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
- Query,, Rathish.Kumar, 2008/03/10
- Re: Query, [the number of singular matches],
Benno Schulenberg <=