I was just afraid that if I put just two letters into google I might end up reading about the wrong thing! but, number one on the list is a very informative wiki article....
Ok so I decided that i wanted a txt file as output so that I could add additional strings in applescript before issuing the say command. So now drax's script looks like this:
echo > speakableweather.txt `wget --quiet -O - "
http://rss.weather.com/weather/rss/local/75409?cm_ven=LWO&cm_cat=rss&par=LWO_rss"| grep "more details" |grep img|awk -F">" '{print $3}'|sed s/"For more details"//g|sed 's/°/degrees/g'|awk -F";" '{print $1}'`
This works fine in terminal but if i try to run the script using the do shell script command in applescript I get a command not found error. I think this is because, according to it's documentation applescript always uses /bin/sh to interpret commands. I think this is a different shell than bash right? Can I add the necessary commands to /bin/sh?