From 899c6da1528f2141f802c9dc11f3ea504fdfbc67 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 4 Sep 2013 21:43:49 +0100 Subject: [PATCH] word list generation --- .gitignore | 1 + Makefile | 9 +++------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index b25c15b..94d00b8 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ *~ +words.* diff --git a/Makefile b/Makefile index 534dbc2..3a2cec4 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,11 @@ # -WORDLIST_LEN=3000 +all: words.final -all: words.list - -o= >$@.tmp && mv -f $@.tmp +o= >$@.tmp && mv -f $@.tmp $@ words.final: words.interim Makefile - grep -Ff forbidden-words $< >$@.1.tmp - head - $o + grep -vxFf forbidden-words $< $o words.interim: massage-lemmas lemma.al ./$^ $o -- 2.30.2