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 09-01-2008
anchal_khare anchal_khare is offline
Registered User
  
 

Join Date: Jun 2007
Location: Mumbai,India
Posts: 325
reading from file

frnds,,,
I have a file with thousands of numbers in it ( 1 per line )

like... first some lines of the lines 'd be
3123123344
3123213144
4234234555
4353453453
....
....

I need 3 parameters while executing the script.
1st is a number ( constant ) and 2nd is the date and the 3rd one is the filename of the above file from which i have to read these numbers one by one.

pl suggest me the some best possible ways to achieve this senario.

Thanks.