Re: variable lost when while loop piped

2007-06-03 Thread Ed L. Cashin
On 6/2/07, Paul Jarc [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: A variable set inside a while loop loses its value if the while loop is piped to a command, e.g., sed. This is normal. Read entry E4 in the bash FAQ. Thank you for the reminder. Sorry for the noise. -- Ed

Re: variable lost when while loop piped

2007-06-02 Thread Paul Jarc
[EMAIL PROTECTED] wrote: A variable set inside a while loop loses its value if the while loop is piped to a command, e.g., sed. This is normal. Read entry E4 in the bash FAQ. paul ___ Bug-bash mailing list Bug-bash@gnu.org