xref: /illumos-gate/usr/src/test/util-tests/tests/awk/examples/awk/t.fun4 (revision 36589d6bb0cdae89e166b57b0d64ae56d53247d9)
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