found this while trying to answer this stackoverflow question http://stackoverflow.com/questions/30321798
> typeset -a a
> a+=(1)
> print ${!a[@]}
0
> unset a[0]
> typeset -p a
typeset -a a=([0]=)
> a+=(1)
> print ${!a[@]}
1
> typeset -p a
typeset -a a=([1]=1)
>
imao it shouldn't be stateful like this
--
Aaron Davies
[email protected]
_______________________________________________
ast-users mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-users
