bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: variable lost when while loop piped


From: Ed L. Cashin
Subject: Re: variable lost when while loop piped
Date: Sat, 2 Jun 2007 13:42:03 -0400

On 6/2/07, Paul Jarc <prj@po.cwru.edu> wrote:
ecashin@coraid.com 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 L. Cashin <ecashin@noserose.net>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]