compare non-integer vaiables in bash/gawk?
Hi there,
I want to compare the output of two variables from two gawk command,
for example, v1=1221.73, v2=1441.33. I want to write a script or
anything that's conveient to do to compare these two variables and tell
which is bigger. I found that bash can only handle integers/characters.
My knowledge of script programming is quite limited. Could anyone give
me a little bit idea of what to do?
Thanks,
Maggie
|