Commit 3355e915 authored by Fred Drake's avatar Fred Drake

Move nasty cruft from make.rules' $(CUTCRUFT) here, mostly to clean up

make.rules.
parent 44707db9
......@@ -2,6 +2,9 @@
#
# Script to fix general entities that got translated from the LaTeX as empty
# elements. Mostly pretty bogus, but works like a charm!
#
# Removes the leading XML PI that identifies the XML version, since most of
# the XML files are not used as top-level documents.
if [ "$1" ]; then
exec <"$1"
......@@ -13,7 +16,7 @@ if [ "$1" ]; then
shift 1
fi
sed '
grep -v '^<?xml .*?>$$' | sed '
s|<ABC/>|\&ABC;|g
s|<ASCII/>|\&ASCII;|g
s|<C/>|\&C;|g
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment