> associative array key parsing seems to be incorrect if they contain
> closing square bracket inside the array=([key]=value) construct.
>
> the following testcase :
>
> $ declare -A key_full; key_full=(["version[agent]"]=agent.version); echo
> "${!key_full[@]}"
Yes, this is a problem. Thanks for the report. As a workaround,
key_full["version[agent]"]=agent.version
works correctly.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/