Bug#316876: bash: Pipe into builtin read not working

2005-07-05 Thread Jim Hague
On 05-Jul-2005 Justin Pryzby wrote: >> $ echo Hello, world | read a b; echo $a $b >> > I believe the reason is this (from sh(1)): > >Each command in a pipeline is executed as a separate process >(i.e., in a subshell). > >... > >A command invoked in this sep

Bug#316876: bash: Pipe into builtin read not working

2005-07-04 Thread Justin Pryzby
On Mon, Jul 04, 2005 at 02:53:01PM +0100, Jim Hague wrote: > Package: bash > Version: 3.0-15 > Severity: normal > > $ echo Hello, world | read a b; echo $a $b > > doesn't produce the expected 'Hello, world' output, but just a blank > line. > > I'm no bash expert, but this doesn't seem right. FW

Bug#316876: bash: Pipe into builtin read not working

2005-07-04 Thread Jim Hague
Package: bash Version: 3.0-15 Severity: normal $ echo Hello, world | read a b; echo $a $b doesn't produce the expected 'Hello, world' output, but just a blank line. I'm no bash expert, but this doesn't seem right. FWIW, zsh(Debian) and ksh(AIX) produce the expected output. -- System Informatio