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

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

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?

Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |

Reply to: