Delete lines containing a range pattern in 4rd columns

Posted by Andrei on Stack Overflow See other posts from Stack Overflow or by Andrei
Published on 2010-06-03T20:57:12Z Indexed on 2010/06/03 21:14 UTC
Read the original article Hit count: 182

Filed under:
|
|
|

In a file 4th column contains a floating point numbers

dsfsd sdfsd sdfds 4.5 dfsdfsd

I want to delete the entire line if the number between -0.1 and 0.1 (or some other range).

Can sed or awk do that for me?

thanks

© Stack Overflow or respective owner

Related posts about bash

Related posts about scripting