View Single Post
Old 01-15-2006, 07:58 PM   #1 (permalink)
ashok rajagopal
Registered User
 
ashok rajagopal's Avatar
 
Join Date: Sep 2005
Posts: 20
ashok rajagopal is on a distinguished road
File handling in Shell Script

In my application, i have to create a shell script which takes in a data file and gets some data from it. Basically, i need to read n number of characters from each record in the file into a variable, something like 'fread' command in C/C++... which is the unix command or construct that i can use ?

I have to write some values to another file, and i want the command for writing a variable to the file also. like 'fprintf' in C/C++ . Any pointers ???

Want immediate help on this... Please...
ashok rajagopal is offline   Reply With Quote