geht doch net :-(
authorConstantin <constantin@exxxtremesys.lu>
Fri, 19 Jul 2013 16:05:38 +0000 (18:05 +0200)
committerConstantin <constantin@exxxtremesys.lu>
Fri, 19 Jul 2013 16:05:38 +0000 (18:05 +0200)
play.sh

diff --git a/play.sh b/play.sh
index 5ee9b2dfc032701d627b179b4ffb62de2d40b15e..f51371ef1d1fe426ca76e384dafd54feac790a2f 100755 (executable)
--- a/play.sh
+++ b/play.sh
@@ -4,5 +4,5 @@
 
 WORDSTOPLAY=10
 
-sort -R words.txt | fgrep -v \" | head -n $WORDSTOPLAY | ./game
+sort -R dict.txt | egrep '^[A-Za-z]{5,}$' | head -n $WORDSTOPLAY | tr [:upper:] [:lower:]