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: Paul Jarc
Subject: Re: variable lost when while loop piped
Date: Sat, 02 Jun 2007 12:43:04 -0400
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux)

address@hidden 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




reply via email to

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