Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /usr/bin/temper > /tmp/currtemp1.txt 2>&1&
- sleep 0.5
- killall -9 temper
- currtemp=`cat /tmp/currtemp1.txt | grep temperature | awk -F " " '{ print $5 }' | sed 's/\(.*\)...../\1/'`
- /etc/heyu/bin/announce "the current temperature in the house is $currtemp"
- rm -f /tmp/currtemp1.txt
Add Comment
Please, Sign In to add comment