xref: /aosp_15_r20/external/one-true-awk/testdir/t.fun5 (revision 9a7741de182b2776d7b30d6355f2585c0780a51b)
1*9a7741deSElliott Hughesfunction f(a) {
2*9a7741deSElliott Hughes	return split($0, a)
3*9a7741deSElliott Hughes}
4*9a7741deSElliott Hughes{
5*9a7741deSElliott Hughes	print
6*9a7741deSElliott Hughes	n = f(x)
7*9a7741deSElliott Hughes	for (i = 1; i <= n; i++)
8*9a7741deSElliott Hughes		print "	" x[i]
9*9a7741deSElliott Hughes}
10