summaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-misc/func5.tests
blob: e967208cc9f2f6207003a8b308374babf5dbcd5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
f() { echo $1; }
f 1

f() ( echo $1; )
f 2

f() ( echo $1 )
f 3

f() for i in 1 2 3; do
	echo $i
done
f