xref: /freebsd/contrib/one-true-awk/testdir/t.split9 (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1{
2	n = split ($0, x, FS)
3	if (n != NF)
4		print "botch at ", NR, n, NF
5	for (i=1; i<=n; i++)
6		if ($i != x[i])
7			print "diff at ", i, x[i], $i
8}
9