![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| extracting lines from a file | trichyselva | UNIX for Dummies Questions & Answers | 4 | 2 Days Ago 03:18 AM |
| Extracting lines between 2 strings only if the pattern patches | simran | Shell Programming and Scripting | 5 | 04-23-2008 01:58 PM |
| extracting a set of strings from a text file | Deanne | Shell Programming and Scripting | 2 | 09-20-2007 08:31 PM |
| Help with extracting strings from a file | cmsdelhi | Shell Programming and Scripting | 7 | 01-12-2007 05:49 AM |
| extracting lines from a file | pradeepthanraj | Shell Programming and Scripting | 1 | 11-15-2005 05:41 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Extracting the lines between 2 strings of a file
Hi,
I have a sql file and i need to extract the table names used in the sql file using a unix script. If i can extract the lines between the keywords 'FROM' and 'WHERE' in the file, my job is done. can somebody tell me how to do this using a shell script. If u can just let me know, how to extract the lines between 2 strings, it would be a great help. Thanks in advance. |
| Forum Sponsor | ||
|
|