For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!
Hi,
I have this:
expdp_errors=`grep -e "$day_to_check" $log_file | grep -e 'ORA'`
The content of the logfile is that date is on one line and the ORA-error is on the line below.
How do I grep for both the date on line 1 and ORA on line 2?
Regards