From: Stephen_Reilly at domain dell.com
Date: Wed 01 Aug 2001 - 11:28:20 IST
> > On Wed, Aug 01, 2001 at 09:13:38AM +0100, hrishy wrote:
> > > i would like to have a count of all not found
> > > by components........
^^^^^^^^^^^^^
> grep "not found" file | wc -l
grep 'not found' *.txt | cut -f1 -d'|' | uniq -c
Although you might have to use sort before the uniq. This will give output
like:
3 st.txt:label
2 st1.txt:report
.
.
.
1 st34.txt:label
you can tidy that up more, but how and ever ...
steve
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:11:25 GMT