saibsk
asked on
Korn shell script grep issue
I grepping a log file for the word failure. I want to execute a loop only if there is no "failure" string in the log file.
something like
unless grep "failure"
-------
-------
but there is no unless keyword in shell script. Please advise how would I handle that in Korn shell script.
something like
unless grep "failure"
-------
-------
but there is no unless keyword in shell script. Please advise how would I handle that in Korn shell script.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.