awk/testdir/t.delete3

8 lines
99 B
Plaintext

{ x[$1] = $1
delete x[$1]
n = 0
for (i in x) n++
if (n != 0)
print "error", n, "at", NR
}