Created
April 3, 2018 16:38
-
-
Save doza/3dc5268a34dc0f795f5a1240d37eae5f to your computer and use it in GitHub Desktop.
Select a random line from a file and have the computer say it out loud
This file contains 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
# Select a random line from a file and have the computer say it out loud | |
head -$((${RANDOM} % `wc -l < responses.txt` + 1)) responses.txt | tail -1 | say |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment