xref: /freebsd/contrib/one-true-awk/testdir/t.fun5 (revision 23f24377b1a9ab6677f00f2302484d6658d94cab)
1*23f24377SWarner Loshfunction f(a) {
2*23f24377SWarner Losh	return split($0, a)
3*23f24377SWarner Losh}
4*23f24377SWarner Losh{
5*23f24377SWarner Losh	print
6*23f24377SWarner Losh	n = f(x)
7*23f24377SWarner Losh	for (i = 1; i <= n; i++)
8*23f24377SWarner Losh		print "	" x[i]
9*23f24377SWarner Losh}
10