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