Created
April 15, 2013 09:29
-
-
Save johanforssell/5386976 to your computer and use it in GitHub Desktop.
Shell-alias 'week' för att kolla med http://vecka.nu vilken vecka det är. Kommer att gå sönder när de designar om sidan.
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
alias week="curl --silent --url http://vecka.nu | egrep '<div style=\"color: #066EB0; font-family: Arial; font-size: 220pt; line-height: 220pt; font-weight: bold;\">[0-9]*</div>' | sed -e 's/.*>\([0-9]*\)<.*/\1/'"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Or just use