Dec 30, 2003 #1 r9ronaldo Programmer Jun 19, 2003 28 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 Nov 8, 2002 53,708 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 Oct 22, 2001 446 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 Apr 13, 2001 1,552 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.