Quote:
Originally Posted by matrixmadhan
Code:
awk '/^pattern$/ { print }' filename
|
Hey,
I'll describe the Problem in more explainatory manner now...
I have..
AUDIT_QUEUE
SOF_AUDIT_QUEUE
FAILURE_QUEUE
EXCEPTION_QUEUE
EXCEPTION_AUDIT_QUEUE
NOW..i want the o/p AUDIT_QUEUE only, as AUDIT_QUEUE is part of another two strings how can i ignore those strings. {using awk and grep }
Give me the solutions plz.
Thanks
