On Fri, 03 Oct 2008, Kapil Hari Paranjape wrote: > On Fri, 03 Oct 2008, shiva kumar wrote: > > Which option in the find or grep command to search the exact string > > in the file? > > grep -F 'exact search string' file > > This will work if your string does not contain the ' character.
I realise that this is not what the question was about. grep -F is used when one wants string matches _without_ regular expressions. However, if the given string occurs as a substring it will match. Regards, Kapil. --
signature.asc
Description: Digital signature
_______________________________________________ To unsubscribe, email [EMAIL PROTECTED] with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
