Files
bash/tests/nameref2.sub
2012-07-07 12:26:10 -04:00

8 lines
132 B
Plaintext

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