xref: /illumos-gate/usr/src/test/util-tests/tests/awk/examples/awk/t.fun2 (revision f52943a93040563107b95bccb9db87d9971ef47d)
1function f(n) {
2	while (n < 10) {
3		print n
4		n = n + 1
5	}
6}
7function g(n) {
8	print "g", n
9}
10{ f($1); g($1); print n }
11