1*23f24377SWarner LoshNF > 0 && match($NF, $1) { 2*23f24377SWarner Losh print $0, RSTART, RLENGTH 3*23f24377SWarner Losh if (RLENGTH != length($1)) 4*23f24377SWarner Losh printf "match error at %d: %d %d\n", 5*23f24377SWarner Losh NR, RLENGTH, RSTART >"/dev/tty" 6*23f24377SWarner Losh} 7