bug-bash
[Top][All Lists]
Advanced

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

Re: A note for read builtin


From: Jan Schampera
Subject: Re: A note for read builtin
Date: Fri, 18 Jun 2010 21:10:42 +0200
User-agent: Mozilla-Thunderbird 2.0.0.24 (X11/20100329)

RESEND FOR THE MAILINGLIST

Britton Kerin schrieb:

Which in a pipeline is supposed to be the output of the previous command, right?
Its not at all obvious to me why it behaves as it does.

The other subthread of this thread is about it: In Bash, all parts of a
pipeline are executed in an own subshell. This means that the read in
the subshell reads the data, sets the variable, and then the subshell is
terminated.

Regards,
Jan





reply via email to

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