more stuff from the schönen künste
[multypo.git] / play.sh
diff --git a/play.sh b/play.sh
index 7b22b59c4786dc546cb6d313e42156d0268e5eaa..288dbcf71d9f3077cb582993bafdab4ff6e53823 100755 (executable)
--- a/play.sh
+++ b/play.sh
@@ -1,4 +1,8 @@
 #!/bin/sh
 
-cat words.txt | ./game
+# you should probably download a txt dictionary of your favourite language and use that as a words.txt
+
+WORDSTOPLAY=10
+
+sort -R dict.txt | sed 's/\/.*//' | egrep '^[A-Za-z]{5,}$' | head -n $WORDSTOPLAY | tr [:upper:] [:lower:]  | qt/multypo