Geektool Weather

Joined
May 15, 2009
Messages
1
Reaction score
0
Points
1
So I'm using Geektool and this code:
curl --silent "http://xml.weather.yahoo.com/forecastrss?p=USNY1140&u=f" | grep -E '(Current Conditions:|F<BR)' | sed -e 's/Current Conditions://' -e 's/<br \/>//' -e 's/<b>//' -e 's/<\/b>//' -e 's/<br \/>//' -e 's/<BR \/>//' -e 's/<description>//' -e 's/<\/description>//'
to display the weather on my desktop, and I just want the Temperature, without the conditions. Anyone know another code and/or a way to take the conditions out of this one?
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top