diff options
Diffstat (limited to 'systems/unix/tex-fpc/ch.ch/mkstats')
-rwxr-xr-x | systems/unix/tex-fpc/ch.ch/mkstats | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/systems/unix/tex-fpc/ch.ch/mkstats b/systems/unix/tex-fpc/ch.ch/mkstats new file mode 100755 index 0000000000..f2a81c00a3 --- /dev/null +++ b/systems/unix/tex-fpc/ch.ch/mkstats @@ -0,0 +1,12 @@ +# activate stats blocks to turn statistics on +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) |