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

12 lines
223 B
Plaintext

NF > 0 {
n = split($0, x)
if (n != NF)
printf("split screwed up %d %d\n", n, NF)
delete x[1]
k = 0
for (i in x)
k++
if (k != NF-1)
printf "delete miscount %d elems should be %d at line %d\n", k, NF-1, NR
}