UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: checkeqChapter 2
Unix Commands
Next: Reference: chgrp
 

checknr

checknr [options] [files]

Solaris only. Check nroff/troff source files for mismatched delimiters and unknown commands. It also checks for macros that come in open/close pairs, such as .TS and .TE. With no files, checks the standard input.

checknr works best when input is designed for its conventions: \fP always ends a font change, and \s0 always restores a point-size change. checknr knows about the me and ms macros.

Options

-amacros

Add new pairs of macros that come in open/close pairs. The six characters representing the new macros must immediately follow the -a, e.g., -a.PS.PE for the pic macros.

-ccommands

Don't complain that the given commands are undefined. String the command names together, as in -a. Useful if you have your own macro package.

-f

Ignore inline font changes (\f).

-s

Ignore inline point-size changes (\s).


Previous: Reference: checkeqUNIX in a Nutshell: System V EditionNext: Reference: chgrp
Reference: checkeqBook IndexReference: chgrp

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System