Florian Kulzer wrote:
On Wed, Sep 26, 2007 at 03:46:28 -0400, Chuck Payne wrote:
Guys,
I am sorry to ask such a newbie question, and my eyes are crossed, no
caffeine, and I have try everything on the man pages and my serveral books
and I am not getting the answer.
Ok. Here are my 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 '\<payne\>' whatever-file.txt
Also, why can I do this zgrep -c, how can I get a count with zgrep.
Can you post an example of a complete command and the error message that
you get?
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 -c
Payne
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]