![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| 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 04:23 AM |
| Reading the particular line from the file | eamani_sun | Shell Programming and Scripting | 3 | 05-16-2008 04:55 PM |
| reading text file line by line | MizzGail | Shell Programming and Scripting | 6 | 04-14-2008 06:58 AM |
| Line by line file reading... and more! | ProFiction | Shell Programming and Scripting | 6 | 07-26-2007 11:32 AM |
| Reading line by line from a file | tej.buch | Shell Programming and Scripting | 2 | 01-23-2006 02:50 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | 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 |
|
||||
|
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. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|