CHECKDOC(1)

NAME
checkdoc - check integrity of input for MM document file

SYNOPSIS
checkdoc [ files []]

DESCRIPTION
The checkdoc command scans the document input file and checks for proper usage of the Memorandum Macros (MM). For example, it checks for a (display end) macro for every (display start) macro. The checkdoc command also checks for syntax errors in the usage of macros for preprocessors (tbl(1)), eqn(1), pic(1), grap(1)). In addition, it checks for common user errors as well as known (and sometimes undocumented) idiosyncracies of the text processing tools.

checkdoc now examines additional source files specified in and formatting directives. The use of xpand is no longer required.

DIAGNOSTICS
If checkdoc encounters any errors, exit status ``1'' is returned. For each error found, checkdoc prints a message that describes the nature of the problem and the offending line number.

If no errors are found, exit status ``0'' is returned.

BUGS
checkdoc does not examine the content of user defined macros and does not attempt to expand them when they are invoked.

SEE ALSO
mm(1), mmt(1), mm(5),