Re: Namespace problem with pipe into a braced group

2010-02-23 Thread Chet Ramey
On 2/23/10 4:23 AM, t...@icada.com wrote: > Description: > I would have expected the output to be 2 in both cases. My mistake or > yours? :-) > > Repeat-By: > a=1; echo foo;{ a=2; }; echo $a # output: 2 > a=1; echo foo|{ a=2; }; echo $a # output: 1 Yours. Pl

Re: Namespace problem with pipe into a braced group

2010-02-23 Thread Chris F.A. Johnson
On Tue, 23 Feb 2010, t...@icada.com wrote: > Configuration Information [Automatically generated, do not change]: > Machine: x86_64 > OS: linux-gnu > Compiler: gcc -I/usr/src/packages/BUILD/bash-3.1 > -L/usr/src/packages/BUILD/bash-3.1/../readline-5.1 > Compilation CFLAGS: -DPROGRAM='bash' -DCONF

Namespace problem with pipe into a braced group

2010-02-23 Thread tobi
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc -I/usr/src/packages/BUILD/bash-3.1 -L/usr/src/packages/BUILD/bash-3.1/../readline-5.1 Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MAC