ptlrc -d /dev/ttyUSB1 -b 1200 | \ awk \ '/°C/\ { sysstring=sprintf("echo -e -n temp=%s", $1) system(sysstring) if($1 > 24) { system("echo -en \"OFF \"") } if($1 < 21) { system("echo -en \"ON \"") } }\ '