N
NetComrade
Hi,
I have an output of errors fed into an array, after which I only look
at things I care about and put them in a different array:
@oracle_errors =
grep(/ORA-/||/neededarchiving/||/FULL/||/archival/||/Standby/||/deadlock/,@output);
However, I would like to have (yet another array), e.g. @ignore_errors
which will contain values such as
ORA-error can be ignored
ORA-error2 can be ignored
How can I set that up?
Alternatively, (if simpler), i'd like to add some kind of 'grep -v'
functionality to my grep command (but the array method seems sweeter).
Thanks.
........
We use Oracle 8.1.7.4 on Solaris 2.7 boxes
remove NSPAM to email
I have an output of errors fed into an array, after which I only look
at things I care about and put them in a different array:
@oracle_errors =
grep(/ORA-/||/neededarchiving/||/FULL/||/archival/||/Standby/||/deadlock/,@output);
However, I would like to have (yet another array), e.g. @ignore_errors
which will contain values such as
ORA-error can be ignored
ORA-error2 can be ignored
How can I set that up?
Alternatively, (if simpler), i'd like to add some kind of 'grep -v'
functionality to my grep command (but the array method seems sweeter).
Thanks.
........
We use Oracle 8.1.7.4 on Solaris 2.7 boxes
remove NSPAM to email