![]() |
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 |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Piping output of "top" to a text file | safraser | UNIX for Dummies Questions & Answers | 13 | 05-21-2009 05:13 PM |
| piping oracle output to a file? | satnamx | Shell Programming and Scripting | 13 | 03-19-2008 05:08 PM |
| piping output of tail running in background | anuramdas | Shell Programming and Scripting | 4 | 07-27-2007 03:20 PM |
| piping output to echo | A1977 | Shell Programming and Scripting | 3 | 11-01-2006 08:58 AM |
| piping the output of find command to grep | 435 Gavea | UNIX for Dummies Questions & Answers | 1 | 10-05-2006 05:48 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Piping output to while read
Hi. Im using cat to output the contents of a file, then piping it to my while read loop.In this loop variables get assigned values. However when i try to use the variables outside the loop their values has been reset.I understand about subshells etc. but I have no idea how to "preserve" the variables.Any help is greatly appreciated.
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|