Commit 4f0279f4 authored by Fred Drake's avatar Fred Drake

Removed; no longer needed now that the other tools can handle entity

references directly.
parent abb158f5
#! /bin/sh
#
# 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"
shift 1
fi
if [ "$1" ]; then
exec >"$1"
shift 1
fi
sed '
s|<geq/>|\&ge;|g
s|<leq/>|\&le;|g
s|<geq>|\&ge;|g
s|<leq>|\&le;|g
' || exit $?
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