bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BUG: Bash does not export arrays


From: James Graham
Subject: BUG: Bash does not export arrays
Date: Thu, 21 Oct 2004 15:38:12 -0700

Bash does not export arrays into the environment.  Why not?
...or Did I Miss Something Here?

bash-2.05b$ echo $BASH_VERSION
2.05b.0(1)-release
bash-2.05b$ export x=foo
bash-2.05b$ PS1=": " bash
: echo $x
foo
: exit
bash-2.05b$ unset x
bash-2.05b$ x='#'
bash-2.05b$ x[$UID]=':'
bash-2.05b$ export x
bash-2.05b$ PS="${x[$UID]} " bash
: echo ${x[$UID]}

: echo $x

: exit
bash-2.05b$ 


--*greywolf;
/* James Graham; DC Tech Ops; x1246 */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]