Hey there,
This was bugging me all last night, and I finally figured out what my problem was
This should do the trick for you:
awk 'BEGIN {var=3; highest=0}{ j = $NF;if ( j < var && j > highest ) { highest=j} } END {print highest}' YourInputFile
That gave me
2.842
from the text you pasted in this post. There's probably a more elegant solution out there, but this'll do the trick for now
Best wishes
, Mike
Linux and Unix Tips, Tricks and Individual Advice -
The Linux and Unix Menagerie!
------------------------------------------------------------------------
The greatest viral marketing idea of all time, get your copy of this
Free Report now!