source:
MondoRescue/branches/3.2/mindi-busybox/shell/hush_test/hush-misc/func_local2.tests@
3835
Last change on this file since 3835 was 2725, checked in by , 13 years ago | |
---|---|
|
|
File size: 126 bytes |
Line | |
---|---|
1 | x=1 |
2 | f() { echo $x; local x=$((x+1)); echo $x; } |
3 | g() { f; echo $x; f; local x=$((x+1)); f; echo $x; f; } |
4 | f |
5 | g |
6 | echo $x |
7 | echo Done |
Note:
See TracBrowser
for help on using the repository browser.