![]() |
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 a binary file in text or ASCII format | Nagendra | High Level Programming | 3 | 12-03-2008 06:11 PM |
| Reading a mailbox and sending new messages to a text file | rsw626 | Shell Programming and Scripting | 1 | 04-17-2008 01:35 PM |
| Reading from Text file..... | user__user3110 | Shell Programming and Scripting | 0 | 04-11-2008 05:18 AM |
| Reading text from a file | LiquidChild | Shell Programming and Scripting | 12 | 05-30-2007 08:38 AM |
| reading text file | jaan | Shell Programming and Scripting | 1 | 02-16-2004 08:43 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Help with reading text file
How can i have a while loop as follows
while read inputline do <task> done < name_list and also store the values (delimited) on each line to temp variables so as to print them on screen as follows while read inputline do set name | cut -d "," -f1 name_list # #i know this is not correct set age | cut -d "," -f1 name_list # #i know this is not correct echo $name echo $age done < name_list exit 0 thanks for being patient |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|