Mohan Gorai
2013-11-14 07:26:10 UTC
Hi ,
I'm using to ksh93 scripts in my application to do various jobs . while
using double associative arrays i found the below :
# typeset -A foo
# typeset -A foo[bar]
# typeset -A foo[baz]
# foo[bar][cat]=1
# foo[bar][dog]=2
# foo[baz][mouse]=3
# foo[baz][fish]=4
# set | fgrep foo
_='foo[baz]'
foo=([bar]=([cat]=1 [dog]=2) [baz]=([0]='' [fish]=4 [mouse]=3) )
<<== foo[baz][0] is inserted unexpectedly
Found that it's being fixed in alpha release as part of the below
12-08-20 A bug in which creating a two dimemsional associative array could
add an extra 0 element to the second subscript has been fixed.
could someone help me the patch file so that i can patch my binary
accordingly .
Appreciate any help here .
Thanks!,
~gmr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.research.att.com/pipermail/ast-developers/attachments/20131114/3cefc57c/attachment.html>
I'm using to ksh93 scripts in my application to do various jobs . while
using double associative arrays i found the below :
# typeset -A foo
# typeset -A foo[bar]
# typeset -A foo[baz]
# foo[bar][cat]=1
# foo[bar][dog]=2
# foo[baz][mouse]=3
# foo[baz][fish]=4
# set | fgrep foo
_='foo[baz]'
foo=([bar]=([cat]=1 [dog]=2) [baz]=([0]='' [fish]=4 [mouse]=3) )
<<== foo[baz][0] is inserted unexpectedly
Found that it's being fixed in alpha release as part of the below
12-08-20 A bug in which creating a two dimemsional associative array could
add an extra 0 element to the second subscript has been fixed.
could someone help me the patch file so that i can patch my binary
accordingly .
Appreciate any help here .
Thanks!,
~gmr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.research.att.com/pipermail/ast-developers/attachments/20131114/3cefc57c/attachment.html>