Re: Severe Bash Bug with Arrays

2012-04-25 Thread Ted Okuzumi
wrote: > On Wed, Apr 25, 2012 at 1:36 PM, Ted Okuzumi wrote: > > Please note that if I use a different command in the while loop it works. > > > > So instead of > > echo "$mydata" | while read -r line; do myarray+=( "$line" ); done > > > >

Re: Severe Bash Bug with Arrays

2012-04-25 Thread Ted Okuzumi
t into a while statement works, normally, however it fails when the array+=( ) is used. It doesn't fail on other commands that I've seen. This is why I am saying it is definitely a bug. Do you not agree? Thanks, Ted On Tue, Apr 24, 2012 at 10:23 PM, Clark Wang wrote: > On Wed,

Severe Bash Bug with Arrays

2012-04-24 Thread Ted Okuzumi
I am writing this e-mai to report to report a bug in bash. Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-