[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
export arrays does not work. not documented as not working
From: |
Jon Seymour |
Subject: |
export arrays does not work. not documented as not working |
Date: |
Fri, 15 Aug 2008 14:53:48 +1000 |
Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: cygwin
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash.exe' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='cygwin' -DCONF_MACHTYPE='i686-pc-cygwin'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKA\
GE='bash' -DSHELL -DHAVE_CONFIG_H -DRECYCLES_PIDS -I.
-I/home/eblake/bash-3.2.39-19/src/bash-3.2
-I/home/eblake/bash-3.2.39-19/src/bash-3.2/include
-I/home/eblake/bash-3.2.39-1\
9/src/bash-3.2/lib -O2 -pipe
uname output: CYGWIN_NT-5.1 nnorson3ws189 1.5.25(0.156/4/2) 2008-04-17
12:11 i686 Cygwin
Machine Type: i686-pc-cygwin
Bash Version: 3.2
Patch Level: 39
Release Status: release
Description:
Bash does not export arrays. Documentation does not list this
as a restriction.
Repeat-By:
$ A=(1 2 3)
$ B='foobar'
$ export A
$ export B
$ typeset -p A
declare -ax A='([0]="1" [1]="2" [2]="3")'
$ typeset -p B
declare -x B="foobar"
$ bash
$ typeset -p A
bash: typeset: A: not found # unexpected
$ typeset -p B
declare -x B="foobar"
Fix:
Unknown
- export arrays does not work. not documented as not working,
Jon Seymour <=