bug-bash
[Top][All Lists]
Advanced

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

Re: Builtin 'read' data not saved


From: Chet Ramey
Subject: Re: Builtin 'read' data not saved
Date: Thu, 02 Jan 2014 20:51:28 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

On 1/2/14, 2:19 PM, P Fudd wrote:
> Hello all,
> 
> I'm at my wit's end.  This script is not working:

This comes up regularly.  The last time was less than a month ago:

http://lists.gnu.org/archive/html/bug-bash/2013-12/msg00066.html

If you have the Bash FAQ, this is covered in question E4.  Greg
Wooledge's FAQ also considers the topic:

http://mywiki.wooledge.org/BashFAQ/024

> I'm baffled; it's like the while loop is in a parallel universe.  

That is, in effect, what a pipeline is: separate processes run in
parallel with chained input and output.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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