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