Skip to content

Instantly share code, notes, and snippets.

@syropian
Created December 21, 2011 15:28
Show Gist options
  • Save syropian/1506427 to your computer and use it in GitHub Desktop.
Save syropian/1506427 to your computer and use it in GitHub Desktop.
location=`echo Miami Florida | sed -e 's/ /+/'`
curl -s "http://mysite.com/weather.php?q=$location" | sed -e 's/°/°/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment