busybox/shell/hush_test/hush-misc/func2.tests
2009-04-10 23:23:41 +00:00

10 lines
124 B
Plaintext
Executable File

i=0
while test $i != 2; do
f() { echo First $i; }
f
f() { echo Second $i; }
f
: $((i++))
done
echo Done