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