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
> >
> >
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,
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-