The UNIX and Linux Forums  

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-30-2007
xeniya xeniya is offline
Registered User
  
 

Join Date: May 2007
Posts: 3
Smile Parsing line out of a file, please help !!

Hello, I have a file with several lines

for example;

I need to extract a line radiusAuthServTotalAccessRequests.0 = 0
and I don't have line #s in the file.

I need to write a script to extract the above line, put a date beside it and parse this line out to another directory / file.

How can I do this ?

You feedback would be greatly appreciated

Thank you so much to those who already replied and those who will reply.

Last edited by xeniya; 05-30-2007 at 06:10 PM..