On Sat, Apr 24, 2010 at 10:20:54PM -0700, John DuBois wrote:
> 3)
> typeset -T oset=( typeset -A foo )
> oset bar
> bar.foo=( [a]=b [c]=d )
> print ${!bar[*]}
>
> gives:
> 0
I made a mistake in reducing this one; "print ${!bar.foo[*]}" produces the
correct output. Here is the actual problem:
typeset -T oset=( typeset -A foo )
oset bar
: ${bar.foo[a]}
bar.foo[a]=b
print ${#bar.foo[*]} ${!bar.foo[*]}
produces "0".
John
--
John DuBois [email protected] KC6QKZ/AE
I wish to God these calculations had been executed by steam. - Charles Babbage
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users