Created
September 23, 2014 18:02
-
-
Save mmattice/183a86cfcc02b0ab9ba3 to your computer and use it in GitHub Desktop.
Grab some random words from a dictionary file
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
#!/bin/bash | |
count=$1 | |
if [[ $count = "" ]]; then count=2 ; fi | |
shuf -n $count /usr/share/dict/american-english | tr "\n" " "; echo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment