Hi all,
I have a script that produceds outout that looks like the following...
Media Written
--------
CDE343 orabot-safe-backup
MA3670 orabot-safe-backup
MA3672 orabot-safe-backup
CDE372 orabot-d02
CDE373 orabot-d02
I want to strip the following lines from the top of the file before feeding that file into another script. Just the two top lines "Media Written and "-------" I have tried sed but cant seem to figure out how to combine two commands on the same lines. Any other ideas...
I have a script that produceds outout that looks like the following...
Media Written
--------
CDE343 orabot-safe-backup
MA3670 orabot-safe-backup
MA3672 orabot-safe-backup
CDE372 orabot-d02
CDE373 orabot-d02
I want to strip the following lines from the top of the file before feeding that file into another script. Just the two top lines "Media Written and "-------" I have tried sed but cant seem to figure out how to combine two commands on the same lines. Any other ideas...