Last active
April 4, 2020 03:50
-
-
Save tdhopper/81620d8544bdfadf3bff to your computer and use it in GitHub Desktop.
Get weather for Morrisville, NC
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
curl http://api.openweathermap.org/data/2.5/weather?q=27560 | /usr/local/bin/jq .main.temp | awk '{print $1 * 9.0 / 5 - 459.67}' OFMT="NC:%2.0f°" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment