Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] GREP basics
- Date: Thu, 30 Jan 2003 23:58:48 +0900
- From: Matt Doughty <wyndigo@example.com>
- Subject: Re: [tlug] GREP basics
- References: <20030130.234546.74755592.acmuller@example.com>
- User-agent: Mutt/1.4i
On Thu, Jan 30, 2003 at 11:45:46PM +0900, Charles Muller wrote: > I have a directory that contains 82 files. I want to get a count of the > number of occurrences of the word "<hdwd>" in all 82 files. > > But if I do: > > [chuck@example.com ddbxml]$ grep -c "<hdwd>" * > > I get a list of the 82 files, with the number of hits in each listed next to > them, but not the grand total. > > If I do: > > [chuck@example.com ddbxml]$ grep "<hdwd>" * > grep "<hdwd>" * | wc -l --Matt
- Follow-Ups:
- Re: [tlug] GREP basics
- From: Godwin Stewart
- Re: [tlug] GREP basics
- From: Josh Glover
- References:
- [tlug] GREP basics
- From: Charles Muller
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] GREP basics
- Next by Date: Re: [tlug] GREP basics
- Previous by thread: Re: [tlug] GREP basics
- Next by thread: Re: [tlug] GREP basics
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links