Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
3355e915
Commit
3355e915
authored
Nov 30, 1998
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move nasty cruft from make.rules' $(CUTCRUFT) here, mostly to clean up
make.rules.
parent
44707db9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
Doc/tools/sgmlconv/fixgenents.sh
Doc/tools/sgmlconv/fixgenents.sh
+4
-1
No files found.
Doc/tools/sgmlconv/fixgenents.sh
View file @
3355e915
...
...
@@ -2,6 +2,9 @@
#
# 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
"
...
...
@@ -13,7 +16,7 @@ if [ "$1" ]; then
shift
1
fi
sed
'
grep
-v
'^<?xml .*?>$$'
|
sed
'
s|<ABC/>|\&ABC;|g
s|<ASCII/>|\&ASCII;|g
s|<C/>|\&C;|g
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment