Configuration Information [Automatically generated, do not change]:
Machine: i486
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486'
-DCONF_OSTYPE='linux-gnu' - \DCONF_MACHTYPE='i486-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -\DSHELL
-DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -g -O2
uname output: Linux bclarklx 2.6.16-1-686 #2 Thu May 4 18:22:23 UTC 2006 i686
GNU/Linux
Machine Type: i486-pc-linux-gnu
Bash Version: 3.1
Patch Level: 14
Release Status: release
Description:
When exporting a variable containing an array, child processes
cannot see the array.
Repeat-By:
$ FOO=(1 2 3)
$ BAR=test
$ export FOO
$ export BAR
$ set | grep FOO
FOO=([0]="1" [1]="2" [2]="3")
$ set | grep BAR
BAR=test
$ bash
$ set | grep FOO
$ set | grep BAR
BAR=test
$ exit
_______________________________________________
Bug-bash mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-bash