Re: gA: declare and assign vs. declare then assign

2014-01-16 Thread Chet Ramey
On 1/15/14, 10:04 PM, Carlos Pita wrote: > Bash Version: 4.2 > Patch Level: 45 > Release Status: release > > Description: > > When declaring a global associative array inside a function and > assigning a value to it at the same time, then the array is not > globally visible. This doesn't h

gA: declare and assign vs. declare then assign

2014-01-16 Thread Carlos Pita
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash