summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-08-26 18:05:23 (GMT)
committerFred Drake <fdrake@acm.org>1999-08-26 18:05:23 (GMT)
commit4f0279f4398a35216b4cbd6dc889085c6912a693 (patch)
treefd9626a8f497958cf6456279f528baf70a78684c
parentabb158f56bb471a40e7899056572d543e627740f (diff)
downloadcpython-4f0279f4398a35216b4cbd6dc889085c6912a693.zip
cpython-4f0279f4398a35216b4cbd6dc889085c6912a693.tar.gz
cpython-4f0279f4398a35216b4cbd6dc889085c6912a693.tar.bz2
Removed; no longer needed now that the other tools can handle entity
references directly.
-rwxr-xr-xDoc/tools/sgmlconv/fixgenents.sh24
1 files changed, 0 insertions, 24 deletions
diff --git a/Doc/tools/sgmlconv/fixgenents.sh b/Doc/tools/sgmlconv/fixgenents.sh
deleted file mode 100755
index 41e9e3f..0000000
--- a/Doc/tools/sgmlconv/fixgenents.sh
+++ /dev/null
@@ -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/>|\&ge;|g
-s|<leq/>|\&le;|g
-s|<geq>|\&ge;|g
-s|<leq>|\&le;|g
-' || exit $?