onsgmls -V (return code: -15)
onsgmls:I: "OpenSP" version "1.5.2"
onsgmls --help (return code: 0)
Usage: onsgmls [OPTION] SYSID...
Short options need the same arguments as their long forms.
-b, --bctf=NAME Use bctf NAME for output.
-f, --error-file=FILE Append error messages to file FILE.
-v, --version Display the program version.
-h, --help Show this help text.
-c, --catalog=SYSID Use catalog SYSID.
-C, --catalogs Arguments are catalogs, use DOCUMENT entry.
-D, --directory=DIRECTORY Search files in directory DIRECTORY.
-R, --restricted Restrict file reading (for use in Web apps).
-a, --activate=NAME Make doctype or linktype NAME active.
-A, --architecture=NAME Parse wrt. architecture NAME.
-E, --max-errors=NUMBER Give up after NUMBER errors.
-e, --open-entities Show open entities in error messages.
-g, --open-elements Show open elements in error messages.
-n, --error-numbers Show error numbers in error messages.
-x, --references Show references in error messages.
-i, --include=NAME Define parameter entity NAME as "INCLUDE".
-w, --warning=TYPE Enable warning TYPE.
-B, --batch-mode Enable batch mode.
-o, --option=OPTION Produce output according to OPTION.
-p, --only-prolog Stop after the document prolog.
-s, --no-output Suppress output.
-t, --rast-file=FILE Send RAST output to file FILE.
-d Same as -wduplicate.
-l Same as -oline.
-m SYSID Same as -c.
-r Same as -wdefault.
-u Same as -wundef.
onsgmls parses and validates the SGML document whose document entity is
specified by the system identifiers SYSID... and prints on the standard
output a simple text representation of its Element Structure Information Set.
If more than one system identifier is specified, then the corresponding
entities will be concatenated to form the document entity. If no system
identifiers are specified, then onsgmls will read the document entity from
the standard input. A command line system identifier of - can be used
to refer to the standard input.