hush/shell/hush_test/hush-misc/func_local1.tests

6 lines
71 B
Plaintext
Raw Normal View History

export z=z
f() { local z=a; env | grep ^z; }
f
env | grep ^z
echo Done