Open stephane-chazelas opened 8 months ago
$ echo "${.sh.version}" Version AJM 93u+m/1.1.0-alpha+9a48c61e 2024-03-07 $ c=(a=b; function get { :; } ) $ typeset -p c typeset -C c= $ d=(a=b) $ function d.get { :; } $ typeset -p d typeset -C d=()
See also:
$ a=(typeset -A a=([a]=b); function get { typeset -p a; }) $ : $a typeset -C a= $ typeset -p a typeset -x a=typeset -x a=
Which looks pretty random.
Identical symptoms in ksh 93u+ 2012-08-01 and in ksh2020.
See also:
Which looks pretty random.