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/sh | |
# Install a dictionary file on Ubuntu like so | |
# sudo apt install wamerican | |
# ignore words with an apostrophe, then choose 10 at random | |
grep --fixed-strings --invert-match \' /usr/share/dict/words | shuf --head-count=10 |