Skip to content

Instantly share code, notes, and snippets.

@jdamcd
Last active Dec 27, 2015
Embed
What would you like to do?
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