On Nov 5, 12:34 pm, Stephane CHAZELAS
wrote:
> 2011-11-2, 12:01(-06), unkn...@vmw-les.eng.vmware.com:
> [...]> Description:
> > If {varname} is an assoc. array in a redirection the exec will fail
> > The [] should not be confused with pathname expansion just like ${}.
>
> > Repeat-By:
> >
2011-11-2, 12:01(-06), unkn...@vmw-les.eng.vmware.com:
[...]
> Description:
> If {varname} is an assoc. array in a redirection the exec will fail
> The [] should not be confused with pathname expansion just like ${}.
>
> Repeat-By:
> $ declare -A array
> $ exec {array[key]}
You're missing a dollar sign.
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-unknown-linux-gnu'
-DCONF_VENDOR='unknown' -DLOCALEDIR='/home/lester/bas