# Last edited on 2004-02-16 15:11:08 by stolfi CHECKING AND UNFOLDING ALL TEXTS Checking all texts: set txdirs = ( `ls ????/???/main.src | sed -e 's:/main.src::'` ) foreach dir ( ${txdirs} ) echo " " echo "=== ${dir} ====================" ( cd ${dir} && make single ) end SELECTING WORD SAMPLES set txdirs = ( `ls ????/???/main.src | sed -e 's:/main.src::'` ) set maxAlpha = 35027 foreach dir ( ${txdirs} ) echo " " echo "=== ${dir} ====================" set sec = "tot.1" if ( ! ( -d ${dir}/${sec} ) ) mkdir ${dir}/${sec} ( cd ${dir} && \ ../../tools/select-words \ -f select-words-fns.gawk \ -v section="${sec}" \ -v maxAlpha="${maxAlpha}" \ < main.wds > ${sec}/sel.wds \ ) end