xref: /freebsd/contrib/one-true-awk/testdir/t.split9 (revision d5b0e70f7e04d971691517ce1304d86a1e367e2e)
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