![]() |
|
|
|
|
|||||||
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| reading ps command's output line by line | s. murat | Shell Programming and Scripting | 5 | 05-22-2008 01:23 AM |
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Reading line by line from file.
Hi,
I am trying to do the following in a ksh script: Loop until (eof) in_line = current input line from file Statements. end loop. But have been having trouble finding syntax and such for scripting in this language. Could some one point me in the right direction? I would especially like to know about good, free, online reference material. Thanks, Amber Taylor |
| Forum Sponsor | ||
|
|
|
|||
|
you could also use a for loop.
Code:
for i in `cat filename`;do processing..... done Books: oreilly.com has a book called "Learning the Korn Shell" another great book. |