source:
MondoRescue/branches/3.3/mindi-busybox/shell/ash_test/ash-misc/func_local2.tests@
3743
Last change on this file since 3743 was 3621, checked in by , 8 years ago | |
---|---|
|
|
File size: 126 bytes |
Rev | Line | |
---|---|---|
[3621] | 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.