Please help. How can accomplish this
if [ echo `awk 'BEGIN{print 0.001>0.9}'` -eq 0 ]; then DO SOMETHING; fi
But that is wrong.
What I'm trying to do is: if the first number(0.001) if greater than 0.9 then DO SOMETHING. else DO NOTHING
The numbers will always be float like 0.001, 0.03, 0.89 etc...
Ah and I MUST NOT use the bc command.