xref: /freebsd/contrib/one-true-awk/testdir/t.do (revision 35c87c070a2d04f06c56578b0a4b2e9c13f62be5)
1NF > 0 {
2	t = $0
3	gsub(/[ \t]+/, "", t)
4	n = split($0, y)
5	if (n > 0) {
6		i = 1
7		s = ""
8		do {
9			s = s $i
10		} while (i++ < NF)
11	}
12	if (s != t)
13		print "bad at", NR
14}
15