Hello,
Using a bourne shell script I need to extract some lines from a text file. My file looks like this.
In a file I need to extract just the lines that start with "/export..." to another file (files.lst). The tricky part is that the header twos lines and bottom single line will remain the same BUT the total other lines (with /export...) are variable.
Please, can you off some syntax to grab just the "/export" lines?
Thanks,
Michael42
Using a bourne shell script I need to extract some lines from a text file. My file looks like this.
Code:
SQL> SELECT bla bla bla
/export/oracle/myfile1.dbf
/export/oracle/myfile2.dbf
/export/oracle/myfile3.dbf
SQL> spool off
In a file I need to extract just the lines that start with "/export..." to another file (files.lst). The tricky part is that the header twos lines and bottom single line will remain the same BUT the total other lines (with /export...) are variable.
Please, can you off some syntax to grab just the "/export" lines?
Thanks,
Michael42