checknr — Check nroff and troff Input Files for Errors

Synopsis

/usr/bin/checknr [-fs] [-a x1.y1.x2.y2... .xn.yn] 
  [-c .x1.x2.x3... .xn] [filename...] 

Description

checknr checks a list of nroff(1) or troff(1) input files for certain kinds of errors involving mismatched opening and closing delimiters and unknown commands. If you specify no files, checknr checks the standard input. Delimiters checked are:

  • Font changes using \fx ... \fP.

  • Size changes using \sx ... \s0.

  • Macros that come in open ... close forms, for example, the .TS and .TE macros which must always come in pairs.

checknr knows about the ms(5) and me(5) macro packages.

Use checknr on documents that are prepared with checknr in mind. It expects a certain document writing style for ...

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.