i-bash/tests/nameref2.sub
2014-02-26 09:36:43 -05:00

7 lines
132 B
Text

# test readonly nameref variables
# ksh93 allows this but not typeset -rn ref=foo?
typeset -n ref=foo
readonly ref
foo=4
echo $ref