summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-01-14 21:44:56 (GMT)
committerFred Drake <fdrake@acm.org>1999-01-14 21:44:56 (GMT)
commit6038f54b745be53a155423f18cdb8502451974cd (patch)
treecde65d80629d2948e87da75202a26a5a509e9669
parent53610caee2d0edaf18ddc72be0f2f803e169091d (diff)
downloadcpython-6038f54b745be53a155423f18cdb8502451974cd.zip
cpython-6038f54b745be53a155423f18cdb8502451974cd.tar.gz
cpython-6038f54b745be53a155423f18cdb8502451974cd.tar.bz2
Adjust so that we are no longer using special entities for well-known
names. These are too much of a pain for occaissional authors.
-rwxr-xr-xDoc/tools/sgmlconv/fixgenents.sh40
1 files changed, 21 insertions, 19 deletions
diff --git a/Doc/tools/sgmlconv/fixgenents.sh b/Doc/tools/sgmlconv/fixgenents.sh
index fc825c8..070dd529 100755
--- a/Doc/tools/sgmlconv/fixgenents.sh
+++ b/Doc/tools/sgmlconv/fixgenents.sh
@@ -16,28 +16,30 @@ if [ "$1" ]; then
shift 1
fi
-grep -v '^<?xml .*?>$$' | sed '
-s|<ABC/>|\&ABC;|g
-s|<ASCII/>|\&ASCII;|g
-s|<C/>|\&C;|g
-s|<Cpp/>|\&Cpp;|g
-s|<EOF/>|\&EOF;|g
-s|<NULL/>|\&NULL;|g
-s|<POSIX/>|\&POSIX;|g
-s|<UNIX/>|\&UNIX;|g
-s|<e/>|\&bsol;|g
+sed '
+s|<ABC/>|ABC|g
+s|<ASCII/>|ASCII|g
+s|<C/>|C|g
+s|<Cpp/>|C++|g
+s|<EOF/>|EOF|g
+s|<LaTeX/>|LaTeX|g
+s|<NULL/>|NULL|g
+s|<POSIX/>|POSIX|g
+s|<UNIX/>|Unix|g
+s|<e/>|\\|g
s|<geq/>|\&ge;|g
s|<ldots/>|\&hellip|g
s|<leq/>|\&le;|g
-s|<ABC>|\&ABC;|g
-s|<ASCII>|\&ASCII;|g
-s|<C>|\&C;|g
-s|<Cpp>|\&Cpp;|g
-s|<EOF>|\&EOF;|g
-s|<NULL>|\&NULL;|g
-s|<POSIX>|\&POSIX;|g
-s|<UNIX>|\&UNIX;|g
-s|<e>|\&bsol;|g
+s|<ABC>|ABC|g
+s|<ASCII>|ASCII|g
+s|<C>|C|g
+s|<Cpp>|C++|g
+s|<EOF>|EOF|g
+s|<LaTeX>|LaTeX|g
+s|<NULL>|NULL|g
+s|<POSIX>|POSIX|g
+s|<UNIX>|Unix|g
+s|<e>|\\|g
s|<geq>|\&ge;|g
s|<ldots>|\&hellip|g
s|<leq>|\&le;|g