summaryrefslogtreecommitdiff
path: root/systems/unix/tex-fpc/ch.ch/mkunstats
blob: 6021be7befcd9806f28b0edaaa7acebc456b6565 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# deactivate stats blocks in tex.ch or in mf.ch to turn statistic off.
case $# in
1) tm=$1 ;;
*) tm=tex ;;
esac
ed $tm.ch <<'END'
g/^@x stat/.,/^@z/s/^/	/\
?^	@x?,.p
w
q
END
test $? = 0 || (echo $0 $1 failed ; exit 1)