aboutsummaryrefslogtreecommitdiff
path: root/testdir/t.split8
blob: e967bddb1229cd3fefffd6cea87e44d237a661b8 (plain)
1
2
3
4
5
6
7
8
9
{
	n = split ($0, x, /[ 	]+/)
	print n
	if (n != NF)
		print "split botch at ", NR, n, NF
	for (i=1; i<=n; i++)
		if ($i != x[i])
			print "different element at ", i, x[i], $i
}