|
|
HP-UX Reference > Cchecknr(1)HP-UX 11i Version 2: December 2007 Update |
|
NAMEchecknr — check nroff/troff files DESCRIPTIONchecknr searches a list of nroff or troff input files for certain kinds of errors involving mismatched opening and closing delimiters and unknown commands. If no files are specified, checknr searches the standard input. checknr looks for the following:
checknr knows about the ms and me macro packages. Optionschecknr recognizes the following options:
DIAGNOSTICSchecknr complains about unmatched delimiters, unrecognized commands, and bad command syntax. EXAMPLESCheck file sorting for errors that involve mismatched opening and closing delimiters and unknown commands, but disregard errors caused by font changes: checknr -f sorting WARNINGSchecknr is designed for use on documents prepared with the intent of using checknr, much the same as lint is used. It expects a certain document writing style for \f... and \s... commands, in which each \fx is terminated with \fP and each \sx is terminated with \s0. Although text files format properly when the next font or point size is coded directly instead of using \fP or \s0, such techniques produce complaints from checknr. If files are to be examined by checknr, the \fP and \s0 delimiting conventions should be used. -a cannot be used to define single-character macro names. checknr does not recognize certain reasonable constructs such as conditionals. |
|