[Top][All Lists]

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

Re: A note for read builtin

From: Marc Herbert
Subject: Re: A note for read builtin
Date: Thu, 17 Jun 2010 11:33:37 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100430 Fedora/3.0.4-2.fc12 Thunderbird/3.0.4

>> - The POSIX standard does allow "echo 1 2 | read a b" to be useful
>>    (cf. 2.12 "Shell Execution Environment"). 
> Maybe the POSIX expect shell to execute the last command of pipeline
> not in subshell.

>From section 2.12 and from messages posted here in the past I
understand that POSIX allows either one. This ambiguity reinforces the
need for documentation IMHO.

reply via email to

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