#!/bin/bash

./digiterm --raw --no-info >/tmp/digiterm.tmp

temp=`cat /tmp/digiterm.tmp |awk -F "," '{ print $2 }'|awk -F "@" '{print $1}'`
hum=`cat /tmp/digiterm.tmp |awk -F "," '{ print $1 }'|awk -F "#" '{print $2}'`

echo $temp "--" $hum

