about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--README9
1 files changed, 9 insertions, 0 deletions
diff --git a/README b/README
index fe0b718..9c48d06 100644
--- a/README
+++ b/README
@@ -14,6 +14,15 @@ two files:
 * guessable.txt
 (a basic 5-letter-word list will suffice for both)
 
+If you have dictionaries in /usr/share/dict, these commands might be useful to make the lists.
+
+```sh
+# solutions is just words
+cat /usr/share/dict/* | grep '^[a-z][a-z][a-z][a-z][a-z]$' | sort -u > solutions.txt
+# guessable also includes proper nouns
+cat /usr/share/dict/* | tr '[:upper:]' '[:lower]' | grep '^[a-z][a-z][a-z][a-z][a-z]$' | sort -u > guessable.txt
+```
+
 posix-compatible programs:
 * sh
 * grep