while : do wget http://blah.com/blah.txt myVar = `cat blah.txt` if [ $myVar -gt 30] then //do stuff fi done