hsc

Options

All options and swiches are case-insensitive. If you start hsc without any options, a short help message will be displayed.

hsc understands the following options:

Help
Display a short help message.
[from=]infile
Specifies the input filename. To use stdin as input file, see PipeIn.
[to=]outfile
Specifies the output filename. If no output file is given, stdout is used instead.
DestDir=destination_directory
Specifies the destination directory for output file.
Errfile=errfile
Redirects error output to a file. By default, stderr ist used.
Include=INC
File(s) to include before main-input file is read. Useful to include macro-definitions without an <$INCLUDE FILE="..">. Recommended to be used within makefiles.
Ignore=IGN
Ignore warning message number. Usually, IGNORE needs a numeric argument and can occure multiple. Example:
        IGNORE=21 IGN=18 IGN 3         (ignore warnings #21, #18, #3)
Additionally, you can give IGNORE some special values:
ALL
Ignore all non-error messages
NOTES
Ignore all notes
BADSTYLE
Ignore all bad style warnings
All these special values add new messages to the list of messages to be ignored, but do not reset any IGNOREs passed before.
Mode
Set base mode for syntax check. Legal values are PEDANTIC, NORMAL and RELAXED. Default is NORMAL. This only disables several messages and warnings from the beginning. Any IGNOREs passed before are reseted.

Switches

CheckUri
Check existence of local URIs
PipeIn
Read input file from stdin
RplcEnt
Replace special charaters with its entity (eg "ü" becomes "&uuml").
SmartEnt
Replace special charaters "&", "<" and ">" with its entity (&amp;, &lt; and &gt;) if they are surrounded by white-spaces. Also replace quotes by &quot;.
Status
Display file and line number during conversion. Included files are also displayed. After processing a file, the filename and the total number of lines remain visible. (output goes to stderr.)
Verbose
More verbose status output. Enables the Status-switch.

MAIN COPY PREV NEXT


Thomas Aglassinger ( agi@sbox.tu-graz.ac.at ), 21-Dec-1995