These may be manifestations of a common underlying problem.
typeset -T oset=( typeset -a foo ); oset bar; bar.foo=( a ); print ${bar.foo[*]}
a
typeset -T oset=( typeset -a foo ); oset bar; bar.foo=( a b ); print
${bar.foo[*]}
a
^^ note, b missing
typeset -T oset=( typeset -a foo ); oset bar; bar.foo=( a b c ); print
${bar.foo[*]}
a b c
typeset -T oset=( typeset -a foo )
oset bar
bar.foo=( a b c )
unset bar.foo[0] bar.foo[1]
print ${bar.foo[*]}
produces nothing - the 3rd element is lost.
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