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