16 cat misc/{offensive.1,offensive.2,profane.1} | sort -u > nosug
18 cp en.aff eng_affix.dat
29 echo creating en_$1.dic
31 cat en-common.wl en_$1-wo_accents-only.wl | sort -u > en_$1.0
33 comm en_$1.0 nosug -12 > en_$1-nosug.1
35 comm en_$1.0 nosug -23 > en_$1.1
37 $ASPELL -l ./eng munch-list < en_$1-nosug.1 | grep -v '^\(XXX\|>>>\)' | ./add-no-suggest > en_$1.2
39 $ASPELL -l ./eng munch-list < en_$1.1 | grep -v '^\(XXX\|>>>\)' >> en_$1.2
41 cat en.dic.supp >> en_$1.2
43 wc -l en_$1.2 | cut -d' ' -f1 > en_$1.dic
44 cat en_$1.2 | sort >> en_$1.dic
48 cat README_en.txt.in ../Copyright > README_en_$1.txt
49 echo >> README_en_$1.txt
50 echo "Build Date: `date`" >> README_en_$1.txt
52 zip -9 en_$1.zip README_en_$1.txt en_$1.dic en_$1.aff
54 cp -p en_$1.zip hunspell/
58 cat en_$1-nosug.1 en_$1.1 | sort -u > en_$1.tocheck
60 #hunspell -l -d ./en_$1 < en_$1.dic.tocheck > misspelled
69 rm eng*.dat nosug en_US*.? en_CA*.?