in reply to Remove row if the absolute difference between two columns is greater than a threshold

This should do it. See perlrun for the details:

perl -anle"$F[1]==$F[2] and print" infile > outfile

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re: Remove row if the absolute difference between two columns is greater than a threshold
  • Download Code