Re: Grep Question

From: Bill Verzal (BVerzal@KOMATSUNA.COM)
Date: Tue Mar 02 2004 - 15:10:19 EST


With regex, a "." means "any character". Use "\." to find literal "."
characters.

BV
--------------------------------------------------------

"If everything is coming your way, then you are in the wrong lane"

Bill Verzal
AIX Administrator, Komatsu America
(847) 970-3726 - direct
(847) 970-4184 - fax

             "Kumar, Praveen
             (cahoot)"
             <Praveen.Kumar@CA To
             HOOT.COM> aix-l@Princeton.EDU
             Sent by: IBM AIX cc
             Discussion List
             <aix-l@Princeton. Subject
             EDU> Grep Question

             03/02/2004 01:33
             PM

             Please respond to
                  IBM AIX
              Discussion List
             <aix-l@Princeton.
                   EDU>

Hi *,
       I want to search for a string (82.44.203.222.82681071601925321) from
a file. i have around 150 similar number , so i am using a script to do
this...my script does not create file even after redirecting...can some let
me know where am i failing.

i think when i am doing grep it takes .(dot) in the literal meaning.

TIA
Praveen

*********************
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:39 EDT