What I have so far:
Code:
export DISPLAY=:0;aticonfig --adapter=all --odgt | grep -o '...\...' | sed -e 's/^[ \t]*//'
This gives me:
Code:
91.00
91.50
91.00
82.50
How do I chop this with shell scripting and send it as part of a GET request as such:
Code:
GET http://www.mywebsite.com/update_temp.php?rig=1&temp1=91.00&temp2=91.50&temp3=91.00&temp4=82.50
Thanks Gurus!