|
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...
__________________
|