|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 426 (0x1aa) Types: TextFile Names: »strip.sh«
└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12 └─⟦af5ba6c8e⟧ »unix3.0/DVIWARE.tar.Z« └─⟦ca79c7339⟧ └─⟦this⟧ »DVIware/laser-setters/mctex/postscript/strip.sh«
: shell script to strip comments from PostScript prologues case $# in 1) ;; *) echo "usage: $0 postscript-file" 1>&2; exit 1;; esac echo "% this file has had comments stripped; the original is in" echo "% `pwd`/$1" sed < "$1" \ -e 's,%.*,,g' \ -e 's, , ,g' \ -e 's, *, ,g' \ -e 's,^ ,,' \ -e 's,\([[{]\) ,\1,g' \ -e 's, \([[{]\),\1,g' \ -e 's,\([]}]\) ,\1,g' \ -e 's, \([]}]\),\1,g' \ -e 's, /,/,g' \ -e '/^$/d'