Here's where I'm stuck
temphigh=$(cat $d/temphigh | sed 's/ //g');
templow=$(cat $d/templow | sed 's/ //g');
actualtemp=$(cat $d/temperature | sed 's/ //g');
I have the sed part in there because the file has leading spaces:
What I can't get is I need to compare the actualtemp to temphigh and templow
But how do I compare these values - when -lt and -gt needs integer??