Created
May 11, 2010 02:55
-
-
Save ericallam/396862 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
wget http://xkcd.com | |
wget `grep http://imgs.xkcd.com/comics/ index.html | head -1 | cut -d\" -f2` -O xkcd.png | |
rm index.html | |
open xkcd.png |
Author
ericallam
commented
May 11, 2010
- download and save as wxkcd
- chmod +x wxkcd
- ./wxkcd
- Enjoy todays xkcd comic.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment