xref: /illumos-gate/usr/src/test/util-tests/tests/awk/examples/awk/t.fun4 (revision 5328fc53d11d7151861fa272e4fb0248b8f0e145)
1function f(a, n) {
2	for (i=1; i <= n; i++)
3		print "	" a[i]
4}
5
6{	print
7	n = split($0, x)
8	f(x, n)
9}
10