mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Removed; no longer needed now that the other tools can handle entity
references directly.
This commit is contained in:
parent
abb158f56b
commit
4f0279f439
1 changed files with 0 additions and 24 deletions
|
@ -1,24 +0,0 @@
|
|||
#! /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/>|\≥|g
|
||||
s|<leq/>|\≤|g
|
||||
s|<geq>|\≥|g
|
||||
s|<leq>|\≤|g
|
||||
' || exit $?
|
Loading…
Add table
Add a link
Reference in a new issue