Using AWK find a smallest number in a second column bigger than x
Posted
by Andrei
on Stack Overflow
See other posts from Stack Overflow
or by Andrei
Published on 2010-06-04T20:04:23Z
Indexed on
2010/06/05
14:22 UTC
Read the original article
Hit count: 158
I have a file with two columns,
sdfsd 1.3
sdfds 3
sdfsdf 2.1
dsfsdf -1
if x is 2
I want to print sdfsdf 2.1
How to express it in awk (bash or sed is fine too)
© Stack Overflow or respective owner