19 echo turning off nameref attribute on foo
22 echo after +n foo bar = $bar
31 foo=two printf "%s\n" $foo
32 foo=two eval 'printf "%s\n" $foo'
37 # other basic assignment tests
48 # this appears to be a ksh93 bug; it doesn't unset foo here and messes up
52 # initial tests of working inside shell functions
73 echo "changevar: expect <$@>"
85 changevar bar three four five
86 echo "expect <three four five>"
108 assignvar foo two three four
111 ${THIS_SH} ./nameref1.sub
112 ${THIS_SH} ./nameref2.sub
113 ${THIS_SH} ./nameref3.sub
114 ${THIS_SH} ./nameref4.sub
115 ${THIS_SH} ./nameref5.sub
116 ${THIS_SH} ./nameref6.sub
117 ${THIS_SH} ./nameref7.sub
118 ${THIS_SH} ./nameref8.sub