On Sun, Mar 28, 2021 at 9:02 PM Eric Cook <l...@gmx.com> wrote:

> in typeset -A ary=([key]=) an explicit empty string is the value


No. An "explicit" empty string would be '', "", or something like that.
After `=' a value is expected but it's not there, so `[key]' is assigned
the empty string. `typeset -A ary=(key)' is similar, the value is not there
and the empty string is taken as the value instead.

but in the case of typeset -A ary=([key]) it was historically an error
>

Irrelevant. See above

Reply via email to