![]() |
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 |
| seeking help in text processing | Alecs | Shell Programming and Scripting | 8 | 04-22-2008 02:17 PM |
| text processing ( sed/awk) | anchal_khare | Shell Programming and Scripting | 12 | 02-29-2008 08:44 AM |
| text file processing | alias47 | UNIX for Dummies Questions & Answers | 1 | 08-09-2007 12:10 PM |
| Have a shell script check for a file to exist before processing another file | heprox | Shell Programming and Scripting | 3 | 11-14-2006 03:26 AM |
| grep multiple text files in folder into 1 text file? | coppertone | UNIX for Dummies Questions & Answers | 7 | 08-23-2002 03:50 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Processing a text file
A file contains one name per line, such as:
Code:
john doe jack bruce nancy smith sam riley Code:
list=`(cat /path/to/file.txt)` for items in $list do echo $items done Code:
john doe jack bruce nancy smith sam riley Thanks |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|