idnits
Check internet-drafts for submission nits.
TLDR
Check a file for nits
$ idnits [path/to/file.txt]
Count nits without displaying them
$ idnits --nitcount [path/to/file.txt]
Show extra information about offending lines
$ idnits --verbose [path/to/file.txt]
Expect the specified year in the boilerplate instead of the current year
$ idnits --year [2021] [path/to/file.txt]
Assume the document is of the specified status
$ idnits --doctype [standard|informational|experimental|bcp|ps|ds] [path/to/file.txt]