The UNIX and Linux Forums  
Hello and Welcome from to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 05-26-2007
guiguy guiguy is offline
Registered User
  
 

Join Date: Mar 2006
Posts: 13
Need Help with Awk

I have a file that I need to grab certain pieces of information and save it as a file

I need to search data 0001 in position 14 and then for data 620 in position 67. Once the data is located in pos 67 then I need to grab the data starting 5 lines before and the last row of data will be 5 lines after data in pos 67 changes.

I understand this is a little complex and any assistnace would be greatly apprecaited.

Sincerely