Created
November 26, 2016 16:04
-
-
Save girasquid/0633279cb22fa0db51fb4ea6ed6c4e3b to your computer and use it in GitHub Desktop.
Get all words that are between 3 and 6 characters long from your system's dictionary, and then format them so that you can drop them into an array.
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
cat /usr/share/dict/words | grep '.\{3\}' | grep -v '.\{6\}' | sed 's/^/"/;s/$/",/' | pbcopy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment