1 2 3 4 5 6 7
# test readonly nameref variables # ksh93 allows this but not typeset -rn ref=foo? typeset -n ref=foo readonly ref foo=4 echo $ref