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.
unless grep "failure"
but there is no unless keyword in shell script. Please advise how would I handle that in Korn shell script.