summaryrefslogtreecommitdiff
path: root/systems/unix/tex-fpc/ch.ch/mkchatty
diff options
context:
space:
mode:
Diffstat (limited to 'systems/unix/tex-fpc/ch.ch/mkchatty')
-rwxr-xr-xsystems/unix/tex-fpc/ch.ch/mkchatty12
1 files changed, 12 insertions, 0 deletions
diff --git a/systems/unix/tex-fpc/ch.ch/mkchatty b/systems/unix/tex-fpc/ch.ch/mkchatty
new file mode 100755
index 0000000000..177baf83e9
--- /dev/null
+++ b/systems/unix/tex-fpc/ch.ch/mkchatty
@@ -0,0 +1,12 @@
+# deactivate chatty blocks. These blocks make tex/mf less chatty.
+case $# in
+1) tm=$1 ;;
+*) tm=tex ;;
+esac
+ed $tm.ch <<'END'
+g/^@x chatty/.,/^@z/s/^/ /\
+?^ @x?,.p
+w
+q
+END
+test $? = 0 || (echo $0 $1 failed ; exit 1)