mirror of
https://github.com/sheumann/hush.git
synced 2024-12-28 07:30:23 +00:00
8 lines
126 B
Plaintext
8 lines
126 B
Plaintext
|
x=1
|
||
|
f() { echo $x; local x=$((x+1)); echo $x; }
|
||
|
g() { f; echo $x; f; local x=$((x+1)); f; echo $x; f; }
|
||
|
f
|
||
|
g
|
||
|
echo $x
|
||
|
echo Done
|