On 6/15/10 5:22 PM, Greg Wooledge wrote:
> `declare' has the side effect of making things local to a function, if
> it is used within a function. There is currently no way to create a
> global associative array while inside a function; you'd have to do it
> outside the function.
>
> Chet has sai
On Tue, Jun 15, 2010 at 01:21:51PM +0200, Rainer Rehak wrote:
> Hey there,
> is it a bug, that the declaration of an associative array within a
> function does not survive till after the function, with primitive
> variables on the other hand that concept works well.
`declare' has the side effect o
On Tue, 15 Jun 2010, Rainer Rehak wrote:
> Hey there,
> is it a bug, that the declaration of an associative array within a
> function does not survive till after the function, with primitive
> variables on the other hand that concept works well.
It's not a bug. It's an unfortunate side effect
Hey there,
is it a bug, that the declaration of an associative array within a
function does not survive till after the function, with primitive
variables on the other hand that concept works well.
Greetings
Rainer
bug_bash_declare-A.sh
Description: Bourne shell script
signature.asc
Descriptio
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACK