![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Reading the particular line from the file | eamani_sun | Shell Programming and Scripting | 3 | 05-16-2008 01:55 PM |
| reading text file line by line | MizzGail | Shell Programming and Scripting | 6 | 04-14-2008 03:58 AM |
| Line by line file reading... and more! | ProFiction | Shell Programming and Scripting | 6 | 07-26-2007 08:32 AM |
| Reading line by line from a file | tej.buch | Shell Programming and Scripting | 2 | 01-22-2006 10:50 PM |
| Reading line by line from file. | akpopa | UNIX for Dummies Questions & Answers | 4 | 08-30-2001 07:20 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
reading each line from a file
hi gurus.. i have a requirement like this...I need to read each line in a file and store it in a variable.. the file is li,e this. i would prefer to construct a loop for this.
1 2 3 4 5 6 7 i need something like this, while (i< last record in file) x= the first record do some stuff with x (i=i+1) read the next record in the next iteration. thanks in advance |
| Forum Sponsor | ||
|
|