On 06/17/2010 10:28 AM, Marc Herbert wrote:
- The POSIX standard does allow "echo 1 2 | read a b" to be useful
   (cf. 2.12 "Shell Execution Environment"). Some alternatives to
   bash actually make it useful. Standard and portability concerns
   definitely belong to a reference manual.

Maybe the POSIX expect shell to execute the last command of pipeline not in subshell. Bash executes all commands of pipeline in subshell. Ksh executes all but not the last in subshell. I don't how behave other shells.

RR

Reply via email to