7 max_level=`src/get-level max`
9 if [ $1 -ne $max_level ]
12 add_affixes="`src/get-all-below $1 add-affixes`"
14 cat `src/get-all-below $1 supplement` $add_affixes l/include/$1/* \
15 | src/filter | sort | uniq > working/words.$1.tmp
17 if [ -n "$add_affixes" ] && [ $1 -le `cat l/add-affixes/max-level` ]
20 cat $add_affixes | src/add-affixes >> working/words.$1.tmp
23 src/add-possessive working/words.$1.tmp
25 cat working/words.$1.tmp \
27 | src/add-other-spellings \
28 | src/add-other-forms \
29 | src/add-other-spellings \
31 | comm -12 - working/words.`src/get-level next $1` \
34 rm working/words.$1.tmp
39 | src/add-possessive \
40 | src/add-other-spellings \