4 PATH=$PATH:$MANDIR/tools
15 date > $TMPDIR/pages$dir
16 echo >> $TMPDIR/pages$dir
26 option=`expr "$first" : '.* \(.*\)'`
38 prep="${prep} cw | eqn"
41 prep="${prep} cw | tbl |"
44 prep="${prep} tbl | eqn |"
46 cet | cte | ect | etc | tce | tec)
47 prep="${prep} cw | tbl | eqn |"
55 numb=`eval ${prep} troff -man $sm -s -f -t | pages`
56 echo "$file $numb" >> $TMPDIR/pages$dir
75 val=`echo $val | sed "s/.* / /"`
76 sum=`expr $sum + $val`
79 echo "pgcnt: error in summing - sum is $sum, val is $val"
85 echo "total pages Section $dir -- $sumt" >> totalpgs
86 tsum=`expr $tsum + $sumt`
91 echo "total pages -- $tsum" >> totalpgs