Advertisement
Guest User

New weather

a guest
Jun 14th, 2012
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.19 KB | None | 0 0
  1. watch -n $1 '
  2. curl -s "http://api.wunderground.com/auto/wui/geo/ForecastXML/index.xml?query=${@:-?????}"|perl -ne '/<title>([^<]+)/&&printf "%s: ",$1;/<fcttext>([^<]+)/&&print $1,"\n " ' | fmt -t;
  3. '
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement