[Top][All Lists]

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

Re: export does not work on array

From: Chet Ramey
Subject: Re: export does not work on array
Date: Tue, 23 May 2006 08:57:39 -0400
User-agent: Thunderbird (Macintosh/20060308)

Byron Clark wrote:
> 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.

This is documented.  There isn't really a good way to encode an array
variable into the environment.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                       Live Strong.  No day but today.
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

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