Dec 30, 2003 #1 r9ronaldo Programmer Joined Jun 19, 2003 Messages 28 Location US Hi, I have a situation where I have to grep for the Pattern, and notjust one keyword or one line. Anyway I can do that, Your help is appreciated, Thanks
Hi, I have a situation where I have to grep for the Pattern, and notjust one keyword or one line. Anyway I can do that, Your help is appreciated, Thanks
Dec 30, 2003 #2 PHV MIS Joined Nov 8, 2002 Messages 53,708 Location FR I don't really understand your question. May I suggest Code: man egrep and (if available on your *nix flavor) Code: man regexp Hope This Help PH. Upvote 0 Downvote
I don't really understand your question. May I suggest Code: man egrep and (if available on your *nix flavor) Code: man regexp Hope This Help PH.
Dec 30, 2003 #3 nfaber Technical User Joined Oct 22, 2001 Messages 446 Location US PHV, Just an FYI, at least on HPUX, egrep is obsolete and has been replaced by grep -E and regexp has been replaced by regcomp. Upvote 0 Downvote
PHV, Just an FYI, at least on HPUX, egrep is obsolete and has been replaced by grep -E and regexp has been replaced by regcomp.
Dec 30, 2003 #4 bi Technical User Joined Apr 13, 2001 Messages 1,552 Location US r9ronaldo, if I understand your question correctly, you can use this: grep -i "The pattern you are searching for" filename.txt The -i tells grep not to worry about case. Upvote 0 Downvote
r9ronaldo, if I understand your question correctly, you can use this: grep -i "The pattern you are searching for" filename.txt The -i tells grep not to worry about case.