Last active
November 28, 2016 13:47
-
-
Save diversit/5b84b4f7d6c67eca748897e3e176b113 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
sayJoke() | |
{ | |
while [ true ] | |
do | |
sleep $((RANDOM%600+15)) | |
curl -s http://chuck.cach.in/text | say | |
done | |
} | |
sayJoke |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment