summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-12-10 04:56:00 (GMT)
committerFred Drake <fdrake@acm.org>1998-12-10 04:56:00 (GMT)
commitc166331cd3b5c33c69220e82678b47f983b333d2 (patch)
treef48e13a81c3635f404d23e1d4316046636b9759b /Doc
parent65e164f81d909d55f234225f482445bc4e35adba (diff)
downloadcpython-c166331cd3b5c33c69220e82678b47f983b333d2.zip
cpython-c166331cd3b5c33c69220e82678b47f983b333d2.tar.gz
cpython-c166331cd3b5c33c69220e82678b47f983b333d2.tar.bz2
Handle SGML variant as well as XML variant. SGML is *much* more
likely to be used.
Diffstat (limited to 'Doc')
-rwxr-xr-xDoc/tools/sgmlconv/fixgenents.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/Doc/tools/sgmlconv/fixgenents.sh b/Doc/tools/sgmlconv/fixgenents.sh
index 0503d7b..fc825c8 100755
--- a/Doc/tools/sgmlconv/fixgenents.sh
+++ b/Doc/tools/sgmlconv/fixgenents.sh
@@ -29,5 +29,17 @@ s|<e/>|\&bsol;|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|<geq>|\&ge;|g
+s|<ldots>|\&hellip|g
+s|<leq>|\&le;|g
s|---|\&mdash;|g
' || exit $?