Any ideas?
in fact i was thinking the same solution to preserve space in HTC template, this shoud work:
Code:
curl --silent "http://weather.yahooapis.com/forecastrss?p=UKXX0085&u=f" | grep -e "Forecast:" -A 2 | tail -n 2 | sed -e 's/<br \/>//' -e 's/<BR \/>//' | sed "s/[A-Z a-z -/]*\. High\:\ \(.*\)\ Low\:\ \(.*\)/\?H\: \1\ L\:\ \2/" | sed "s/\?\(.*\)/\\1/"
the following variant keeps the three-chars day indication suffix:
Code:
curl --silent "http://weather.yahooapis.com/forecastrss?p=UKXX0085&u=f" | grep -e "Forecast:" -A 2 | tail -n 2 | sed -e 's/<br \/>//' -e 's/<BR \/>//' | sed "s/- [A-Z a-z /]*\. High\:\ \(.*\)\ Low\:\ \(.*\)/\?- H\: \1\ L\:\ \2/" | sed "s/\?\(.*\)/\\1/"