Created
April 2, 2014 15:53
-
-
Save waffle2k/9936974 to your computer and use it in GitHub Desktop.
Toronto weather
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/sh | |
curl -s weather.opensrs.com | perl -E 'print grep { /Currently/ .. /-?\d+\.\d+/ } <>' | perl -lane 'print $1 if /(-?\d+\.\d+)/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment