Folks
Appreciate your help in understanding issue in relation to below.
I need to pul uvalue from a file (tmpfile) and compare it with a number to make decision.
Using #!/bin/sh
contents of tmpfile :
Slot uvalue : 0.16 [%]
How I am pulling it:
unifval=`awk '/uvalue/ {print $4}' tmpfile`
when I try below if statements to compare this uvalue to a number it does not work.
if test $unifval -gt 0.1 #if [ $unifval > 0.20 ] #tried this too but did not work.