diff options
author | Fred Drake <fdrake@acm.org> | 1999-01-14 21:44:56 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-01-14 21:44:56 (GMT) |
commit | 6038f54b745be53a155423f18cdb8502451974cd (patch) | |
tree | cde65d80629d2948e87da75202a26a5a509e9669 /Doc/tools/sgmlconv | |
parent | 53610caee2d0edaf18ddc72be0f2f803e169091d (diff) | |
download | cpython-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.
Diffstat (limited to 'Doc/tools/sgmlconv')
-rwxr-xr-x | Doc/tools/sgmlconv/fixgenents.sh | 40 |
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/>|\\|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/>|\≥|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|<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>|\≥|g s|<ldots>|\&hellip|g s|<leq>|\≤|g |