File: stripsgml.1

package info (click to toggle)
perlsgml 1%3A19970918-13
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,156 kB
  • ctags: 817
  • sloc: perl: 8,635; makefile: 69
file content (133 lines) | stat: -rw-r--r-- 4,286 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
.\" This -*- nroff -*- file has been generated from
.\" DocBook SGML with docbook-to-man on Debian GNU/Linux.
...\"
...\"	transcript compatibility for postscript use.
...\"
...\"	synopsis:  .P! <file.ps>
...\"
.de P!
\\&.
.fl			\" force out current output buffer
\\!%PB
\\!/showpage{}def
...\" the following is from Ken Flowers -- it prevents dictionary overflows
\\!/tempdict 200 dict def tempdict begin
.fl			\" prolog
.sy cat \\$1\" bring in postscript file
...\" the following line matches the tempdict above
\\!end % tempdict %
\\!PE
\\!.
.sp \\$2u	\" move below the image
..
.de pF
.ie     \\*(f1 .ds f1 \\n(.f
.el .ie \\*(f2 .ds f2 \\n(.f
.el .ie \\*(f3 .ds f3 \\n(.f
.el .ie \\*(f4 .ds f4 \\n(.f
.el .tm ? font overflow
.ft \\$1
..
.de fP
.ie     !\\*(f4 \{\
.	ft \\*(f4
.	ds f4\"
'	br \}
.el .ie !\\*(f3 \{\
.	ft \\*(f3
.	ds f3\"
'	br \}
.el .ie !\\*(f2 \{\
.	ft \\*(f2
.	ds f2\"
'	br \}
.el .ie !\\*(f1 \{\
.	ft \\*(f1
.	ds f1\"
'	br \}
.el .tm ? font underflow
..
.ds f1\"
.ds f2\"
.ds f3\"
.ds f4\"
'\" t 
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n  
.TH "STRIPSGML" "1" 
.SH "NAME" 
stripsgml \(em strip  SGML markup from a file and translate entity  
references 
.SH "SYNOPSIS" 
.PP 
\fBstripsgml\fP [options ]  < \fIfile\fP  
.SH "DESCRIPTION" 
.PP 
\fBstripsgml\fP is a filter which reads a file 
containing  SGML markup tags on STDIN, and prints an ASCII file  
without the markup to STDOUT.   If  possible,  entity  references   
are translated  to  their  corresponding ASCII counterparts in 
the process. 
.PP 
\fBstripsgml\fP is one of a  suite  of  tools available  
in  the perlSGML  package, which together help one inspect, study, 
and edit if necessary, an SGML Document  Type  Definitions 
(DTD).    The   package   was   written   by   Earl   Hood 
(ehood@medusa.acs.uci.edu). 
.PP 
This manual page was written for the \fBDebian GNU/Linux\fP distribution 
because the original program does not have a manual page. 
Instead, it has documentation in the \fBHTML\fP       format; see below.  
.SH "OPTIONS" 
.PP 
A partial summary of command-line options is included below.   
For a complete description, see the \fBHTML\fP  
files. 
.IP "\fB-charset\fP  
\fIcharset\fP" 10 
Use \fIcharset\fP as the character set  
to use while processing. By default, ASCII is assumed, so entity  
references for special characters and character references are  
mapped to ASCII text.  Only the ISO-8859 character sets (1-10)  
are supported. 
.IP "\fB-help\fP         " 10 
Show summary of options. 
.IP "\fB-html\fP         " 10 
Cause URLs in anchor elements in an HTML document to  
be preserved in the output. 
.IP "\fB-ignore\fP \fIname\fP         " 10 
\fIname\fP is a parameter entity. 
This command sets its value to "IGNORE".  
This option may be useful if the input data contains marked sections  
where parameter entity references are used to control the status  
keyword. 
.IP "" 10 
This option can be specified multiple times to set  
multiple parameter entities. 
.IP "\fB-include\fP \fIname\fP         " 10 
\fIname\fP is a parameter entity. 
This command sets its value to "INCLUDE".  
This option may be useful if the input data contains marked  
sections where parameter entity references are used to control  
the status keyword. 
.IP "" 10 
This option can be specified multiple times to set multiple  
parameter entities. 
.SH "SEE ALSO" 
.PP 
dtd2html (1), dtddiff (1), dtdview (1), and stripsgml (1). 
These commands, as well as perlSGML's library of Perl modules  
for parsing of the SGML DTD's are documented fully by  
\fI    \fIThe perlSGML Manual\fP (link to URL http://www.oac.uci.edu/indiv/ehood/perlSGML/doc/html/perlSGML.html) \fR. 
.SH "AUTHOR" 
.PP 
This manual page was written by Susan G. Kleinmann sgk@debian.org for 
the \fBDebian GNU/Linux\fP system (but may be used by others). 
.PP 
Permission is granted to copy, distribute and/or modify 
this document under the terms of the GNU Free 
Documentation License, Version 1.1 or any later version 
published by the Free Software Foundation; with no Invariant 
Sections, no Front-Cover Texts and no Back-Cover Texts.  A copy 
of the license can be found under 
\fB/usr/share/common-licenses/FDL\fP. 
...\" created by instant / docbook-to-man, Thu 04 Jul 2002, 01:37