Created
August 31, 2011 03:14
-
-
Save gbissett/1182732 to your computer and use it in GitHub Desktop.
curry notice
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
if [ `date | cut -c 1-3` == 'Wed' ]; then curl -s "http://search.twitter.com/search.json?q=curry&result_type=recent" | tr ',' '\n' | grep text | head -1 | sed -e "s/\"text\":/ IT'S CURRY DAY: /"; else echo 'Curry day is Wednesday. There will be no curry today.'; fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment