busybox/shell/hush_test/hush-misc/func2.tests

10 lines
124 B
Plaintext
Raw Normal View History

2009-04-11 04:53:41 +05:30
i=0
while test $i != 2; do
f() { echo First $i; }
f
f() { echo Second $i; }
f
: $((i++))
done
echo Done