LindaC
asked on
How can a condition in a script look for "case sensitive" words ?
I have this condition in order to send me a log if it encounters any of this word. The thing is I need this "case sensitive', because the log has a filename with the word "Rejected" in it and send me the log as it where an error.
PARAM1=$(egrep -i -c "ORA-|rejected|Killed|skip ped|EXP-" "$log")
PARAM1=$(egrep -i -c "ORA-|rejected|Killed|skip
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER