cc: [email protected]
Subject: Re: ksh93 returns "()" for "${a[@]}" if I clear an array with a=( )
--------

> ksh93 returns "()" for "${a[@]}" if I clear an array with a=( )


a=()

doesn't clear an array, it unsets a and creates an empty compound variable
(
)

typeset -a a=()

should clear an array.

David Korn
[email protected]
_______________________________________________
ast-users mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-users

Reply via email to