Created
April 5, 2017 13:26
-
-
Save najmam/a58962149ca529c5165c800c494d40df to your computer and use it in GitHub Desktop.
Script that opens today's Garfield strip in the browser
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 | |
year=$(date +%Y) | |
month=$(date +%m) | |
day=$(date +%d) | |
xdg-open https://d1ejxu6vysztl5.cloudfront.net/comics/garfield/${year}/${year}-${month}-${day}.gif | |
# if you're on Mac, use open instead of xdg-open |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment