X-Git-Url: https://git.ralfj.de/multypo.git/blobdiff_plain/93e7259309717671bbaccf24b67bb0d49206f465..9c1e7f79952d5e4f6c8c38bb71e1c7c4dc6a3d01:/play.sh diff --git a/play.sh b/play.sh index 7b22b59..288dbcf 100755 --- 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