Created
April 20, 2011 12:50
-
-
Save danchoi/931246 to your computer and use it in GitHub Desktop.
Weather forecast for Boston
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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