Skip to content

Instantly share code, notes, and snippets.

@gbissett
Created August 31, 2011 03:14
Show Gist options
  • Save gbissett/1182732 to your computer and use it in GitHub Desktop.
Save gbissett/1182732 to your computer and use it in GitHub Desktop.
curry notice
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