Last active
December 17, 2015 07:39
-
-
Save funasoul/5574129 to your computer and use it in GitHub Desktop.
Weather stats for last 13 years (2000-) in Yokohama area (for Ogawa Cup 2013)
This file contains hidden or 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
(( ynum = (`date +"%Y"` - 2000) * 2)); for i in {08..20}; do echo -n "9月${i}日"; curl -s "http://weather.goo.ne.jp/past/day_search.html?areacode=670&p_month=9&p_day=$i" | egrep 'weather_.\.gif' | head -$ynum | grep 'alt="雨"'| wc -l; done | sort -k 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment