busybox/shell/hush_test/hush-misc/func_local1.tests
Denys Vlasenko 295fef80bc hush: add support for local builtin
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-06-03 12:47:26 +02:00

6 lines
71 B
Plaintext
Executable File

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