mirror of
https://github.com/sheumann/hush.git
synced 2024-12-23 05:29:58 +00:00
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