Skip to content

Instantly share code, notes, and snippets.

@jdamcd
Last active December 27, 2015 18:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdamcd/7370152 to your computer and use it in GitHub Desktop.
Save jdamcd/7370152 to your computer and use it in GitHub Desktop.
Say a random word every 7 minutes ^-^
#!/bin/bash
while true; do sleep 420; perl -e 'open IN, "</usr/share/dict/words";rand($.) < 1 && ($n=$_) while <IN>;print $n' | say; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment