hush: document buggy handling of duplicate "local"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
0a0acb55db
commit
73327a048b
5
shell/hush_test/hush-bugs/var3.right
Normal file
5
shell/hush_test/hush-bugs/var3.right
Normal file
@ -0,0 +1,5 @@
|
||||
1
|
||||
1
|
||||
|
||||
|
||||
0
|
1
shell/hush_test/hush-bugs/var3.tests
Executable file
1
shell/hush_test/hush-bugs/var3.tests
Executable file
@ -0,0 +1 @@
|
||||
x=0; f() { local x=1; echo $x; local x; echo $x; unset x; echo $x; local x; echo $x; }; f; echo $x
|
Loading…
Reference in New Issue
Block a user