awk/testdir/t.split8
Arnold D. Robbins d6c466c367 Extract testdir.
2019-06-23 03:13:57 -06:00

10 lines
178 B
Plaintext

{
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
}