Re: zgrep

2007-09-26 Thread Mumia W..
On 09/26/2007 04:00 AM, Chuck Payne wrote: Florian, Sure. Been getting hard on my server. So I been going thur my daily log logs looking for lost connection, so I am trying to get a daily count of of those. So I was trying... zgrep 'lost connection' /var/log/mail-20070925.gz

Re: zgrep

2007-09-26 Thread Chuck Payne
question, and two question they yet be. I need to know the flag for grep to get the exact phrase, for payne. when I do grep for payne...I like this... cpayne cepayne payne apayne I know it got to be simple. egrep '\' whatever-file.txt Also, why can I do this zgrep -c, how can I get a

zgrep (was: It's 3am and I have no caffeine)

2007-09-26 Thread Florian Kulzer
two question, and two question they yet be. > > I need to know the flag for grep to get the exact phrase, for payne. > > when I do grep for payne...I like this... > > cpayne > cepayne > payne > apayne > > I know it got to be simple. egrep '\' whatever-fil