macOS / binaries /

checknr

/usr/bin/checknr
Check nroff and troff input files, report possible errors

checknr checks a list of nroff or troff input files for certain kinds of errors involving mismatched opening and closing delimiters and unknown commands.

source: man