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

Re: It's 3am and I have no caffeine



Chuck Payne:
> 
> Now I am trying to get count to work with zgrep. When I do zgrep -c, I get 
> a what I am looking for and not a count. Anyway try to play with it to 
> figure before I crash.

You may have to resort to this:

gunzip -c foo_file.gz | grep -c bar_pattern

J.
-- 
When I get home from the supermarket I don't know what to do with all the
plastic.
[Agree]   [Disagree]
                 <http://www.slowlydownward.com/NODATA/data_enter2.html>

Attachment: signature.asc
Description: Digital signature


Reply to: