can someone tell me what's wrong with this if statement:
if grep "return" CNB_GAT.out
echo " Found"
I keep recieving the following error:
"Syntax error at line 5 : `else' is not expected."
i've literally copy and pasted this from a website and can't get it working. i'm using hpux 11.11.