Linux and Unix checknr command

Quick links

About checknr
Syntax
Examples
Related commands
Linux and Unix main page

About checknr

Check nroff and troff input files; report possible errors

Syntax

checknr [-f] [-s ] [ -a . x1 . y1 . x2 . y2 ... . xn . yn ] [ -c . x1 . x2 . x3 ... .xn ] [filename]

-fIgnore \f font changes.
-sIgnore \s size changes.
-a .x1 .y1...Add pairs of macros to the list. The pairs of macros are assumed to be those (such as .DS and .DE) that should be checked for balance. The -a option must be followed by groups of six characters, each group defining a pair of macros. The six characters are a period, the first macro name, another period, and the second macro name. For example, to define a pair .BS and .ES, use `-a.BS.ES'
-c .x1...Define commands which checknr would otherwise complain about as undefined.
filenameName of the file to check

Examples

checknr myfile

Check the file myfile for possible errors.

Related commands

eqn
nroff
troff