Re: Using ZCAT & grep

From: Bill Thompson (bill.thompson@GOODYEAR.COM)
Date: Wed Feb 18 2004 - 06:34:12 EST


Praveen,

Your syntax is correct except the -v option of grep will show you every
line *except* those that contain "Searchme"

Try it again without the -v

Bill Thompson
Sr UNIX Systems Administrator
The Goodyear Tire & Rubber Co.

Contains Confidential and/or Proprietary Information
May Not Be Copied or Disseminated Without Express Consent of The Goodyear
Tire & Rubber Company.

AIX-L Archives: http://marc.theaimsgroup.com/?l=aix-l&r=1&w=2

----- Original Message -----
From: "Kumar, Praveen (cahoot)" <Praveen.Kumar@CAHOOT.COM>
Newsgroups: bit.listserv.aix-l
To: <aix-l@Princeton.EDU>
Sent: Wednesday, February 18, 2004 4:42 AM
Subject: Using ZCAT & grep

> Hi *,
> I have a compressed file from which i want to search for a
specific
> pattern say "Searchme" . Can someone help doing this. I am trying with
this
> command
>
> zcat test.Z|grep -v "Searcheme"
>
>
> TIA
> Praveen.K
>
>
> *********************
> Internet communications are not necessarily secure and may be intercepted
or
> changed after they are sent. cahoot does not accept liability for any
such
> changes.
> If you wish to confirm the origin or content of this communication,
please
> contact the sender using an alternative means of communication.
>
> This communication does not create or modify any contract.
>
> This email may contain confidential information intended solely for use
by
> the addressee. If you are not the intended recipient of this
communication
> you should destroy it without copying, disclosing or otherwise using its
> contents.
>
> Please notify the sender immediately of the error.
>
> cahoot is a division of Abbey National plc.
> Abbey National plc is registered in England, registered number 2294747.
> Registered Office: Abbey National House, 2 Triton Square, Regent's Place,
> London, NW1 3AN.



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:36 EDT