stripsgml1
Strip sgml markup from a file and translate entity references
Usage
stripsgml [options]
<
file
Overview
stripsgml 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.
stripsgml 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 ([email protected]).
This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. Instead, it has documentation in the HTML format; see below.
Options
A partial summary of command-line options is included below. For a complete description, see the HTML files.
-
-charset -
charset" 10 Use charset 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.
-
-help -
Show summary of options.
-
-html -
Cause URLs in anchor elements in an HTML document to be preserved in the output.
-
-ignore name -
name 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.
-
This option can be specified multiple times to set multiple parameter entities.
-
-include name -
name 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.
-
This option can be specified multiple times to set multiple parameter entities.
History
- Debian 5.0 (Lenny) to Debian 3.1 (Sarge): the text shown here
- Debian 3.0 (Woody)
- Debian 2.2 (Potato) to Debian 2.1 (Slink)
-charset since Debian 3.0 (Woody);
-help since Debian 3.0 (Woody);
-html since Debian 3.0 (Woody);
-ignore since Debian 3.0 (Woody);
-include since Debian 3.0 (Woody).
--help until Debian 2.2 (Potato);
--version until Debian 2.2 (Potato);
-h until Debian 2.2 (Potato);
-v until Debian 2.2 (Potato).