The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
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

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #8  
Old 05-07-2008
Registered User
 

Join Date: Mar 2008
Posts: 3
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
Reply With Quote
Forum Sponsor
  #9  
Old 05-07-2008
Registered User
 

Join Date: May 2008
Posts: 9
you all have been a great help, it is working now.
thanks so much,
Al
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 12:18 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0