Hi,
I have a question, during my readings it appears that these two variables in the snippet below need to be on the same line to return a “true” answer and listed in the output otherwise it won’t be returned. How can I write this snippet to make it return a “true” if those two variables are on two separate lines in the trace file?? How would this piece of the code be written?
Or am I misunderstanding something here?
Thanks in advance.
I have a question, during my readings it appears that these two variables in the snippet below need to be on the same line to return a “true” answer and listed in the output otherwise it won’t be returned. How can I write this snippet to make it return a “true” if those two variables are on two separate lines in the trace file?? How would this piece of the code be written?
Code:
egrep -ce "($2015-01-22.*$NS Primary Error) | ($NS Primary Error.*$2015-01-22)" /oracle/diag/rdbms/musidp/musidp/trace/musidp_d000_21750.trc
Thanks in advance.