You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
164 B

BEGIN { FS = "a" }
{
n = split ($0, x, FS)
if (n != NF)
print "botch at ", NR, n, NF
for (i=1; i<=n; i++)
if ($i != x[i])
print "diff at ", i, x[i], $i
}