I have a file which has text like below in it:
A2/APT "BH2BSC2 D000000" 647 020613 0819
DIGITAL PATH FAULT SUPERVISION
DIP DIPEND FAULT SECTION HG DATE TIME
58RBLT ALL1 020613 081920
I want to search or grep for DIGITAL PATH FAULT SUPERVISION in the file and then redirect the output to another file called beaster1 so I only end up with:
58RBLT ALL1
Basically I want to look for the DIGITAL PATH FAULT SUPERVISION words, then only redirect the words under DIP and FAULT to a new file like above......
Thanks a bunch!
Beaster.//
A2/APT "BH2BSC2 D000000" 647 020613 0819
DIGITAL PATH FAULT SUPERVISION
DIP DIPEND FAULT SECTION HG DATE TIME
58RBLT ALL1 020613 081920
I want to search or grep for DIGITAL PATH FAULT SUPERVISION in the file and then redirect the output to another file called beaster1 so I only end up with:
58RBLT ALL1
Basically I want to look for the DIGITAL PATH FAULT SUPERVISION words, then only redirect the words under DIP and FAULT to a new file like above......
Thanks a bunch!
Beaster.//