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