perl -lane 'print if abs($F[1] - $F[2]) >= 1' infile > outfile
In reply to Re: Remove row if the absolute difference between two columns is greater than a threshold
by suhailck
in thread Remove row if the absolute difference between two columns is greater than a threshold
by Renyulb28
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |