Skip to content

Instantly share code, notes, and snippets.

@danchoi
Created April 20, 2011 12:50
Show Gist options
  • Save danchoi/931246 to your computer and use it in GitHub Desktop.
Save danchoi/931246 to your computer and use it in GitHub Desktop.
Weather forecast for Boston
#!/bin/bash
# Shows the weather forecast for Boston, MA
curl -s 'http://weather.noaa.gov/pub/data/forecasts/state/ma/maz007.txt' |
sed -n '/^TAB/,+11p; /BOSTON/,+3p'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment