It looks like -b strips codes from the current <infile> line when checking <matchtext> against it, something like: if (<matchtext> iswm $strip($read(<infile>,tn,N)))