Search Results

Search: Posts Made By: cougartrace
1,109
Posted By blackrageous
What kind of error? Why are you essentially...
What kind of error? Why are you essentially egreping twice. One to set the counterrs var and the other in the first part of the if statement?
1,109
Posted By Corona688
You don't put egrep in [ ] like that, and there...
You don't put egrep in [ ] like that, and there must always be spaces between the [ ] and their contents. Also, use -eq for arithmetic comparision.

if egrep 'ORA-39152:' "${MLOG5}" >/dev/null &&...
1,109
Posted By Aia
the test alias `[' requires a space in before and...
the test alias `[' requires a space in before and after the comparative expression
e.i.
if [ $counterrors -eq 1 ]
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 03:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy