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