![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum 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 |
| Building Full-Text Search Applications with Oracle Text | iBot | Oracle Updates (RSS) | 0 | 04-06-2008 02:10 AM |
| How to delete first 5 lines and last five lines in all text files | ragavendran31 | Shell Programming and Scripting | 10 | 02-21-2008 04:58 AM |
| Perl: Search for string on line then search and replace text | Crypto | Shell Programming and Scripting | 4 | 01-04-2008 07:24 AM |
| Moving next 2 lines contents to previous lines | Amruta Pitkar | Shell Programming and Scripting | 8 | 04-26-2007 03:09 AM |
| search and retrieve previous line in file | paulsew | Shell Programming and Scripting | 2 | 02-23-2007 05:04 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#8
|
|||
|
|||
|
I think this last line needs to have the parameters reversed, otherwise thanks for this bit of code - very useful.
{pre2=pre1; pre1=$0}' /sn/log/OM* > ARe.out |
| Forum Sponsor | ||
|
|
|
#9
|
|||
|
|||
|
you all have been a great help, it is working now.
thanks so much, Al |
|||
| Google The UNIX and Linux Forums |