diff options
author | Fred Drake <fdrake@acm.org> | 1998-12-10 04:56:00 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-12-10 04:56:00 (GMT) |
commit | c166331cd3b5c33c69220e82678b47f983b333d2 (patch) | |
tree | f48e13a81c3635f404d23e1d4316046636b9759b /Doc/tools | |
parent | 65e164f81d909d55f234225f482445bc4e35adba (diff) | |
download | cpython-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/tools')
-rwxr-xr-x | Doc/tools/sgmlconv/fixgenents.sh | 12 |
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/>|\\|g s|<geq/>|\≥|g s|<ldots/>|\&hellip|g s|<leq/>|\≤|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>|\\|g +s|<geq>|\≥|g +s|<ldots>|\&hellip|g +s|<leq>|\≤|g s|---|\—|g ' || exit $? |