Linux and Unix checknr command
Quick links
About checknr
Syntax
Examples
Related commands
Linux and Unix main page
Check nroff and troff input files; report possible errors
checknr [-f] [-s ] [ -a . x1 . y1 . x2 . y2 ... . xn . yn ] [ -c . x1 . x2 . x3 ... .xn ] [filename]
| -f | Ignore \f font changes. |
| -s | Ignore \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. |
| filename | Name of the file to check |
checknr myfile
Check the file myfile for possible errors.
