summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-misc/func2.tests
blob: 763203f15adfc4481f638305ec7865e97cbd2588 (plain)
1
2
3
4
5
6
7
8
9
i=0
while test $i != 2; do
    f() { echo First $i; }
    f
    f() { echo Second $i; }
    f
    : $((i++))
done
echo Done