Re: make lint

From: Graham Perrin <>
Date: Sat, 10 Jun 2023 20:18:03 UTC
On 10/06/2023 17:50, Moin Rahman wrote:
>> … What am I missing?
> I think the documentation is outdated and there is not specific linter target at the moment.
> The document also refers to XML Docs which we have migrated to asciidoc.
> Kind regards,
> Moin

Thanks to Moin, and to Jose Luis Duran at 

% cd /usr/src
% mandoc -T lint share/man/man7/hier.7
mandoc: share/man/man7/hier.7:134:104: STYLE: input text line longer 
than 80 bytes: users' home director...
mandoc: share/man/man7/hier.7:174:49: WARNING: new sentence, new line
mandoc: share/man/man7/hier.7:237:6: STYLE: referenced manual not found: 
Xr pc 5
mandoc: share/man/man7/hier.7:330:6: STYLE: referenced manual not found: 
Xr pkg 8 (2 times)
mandoc: share/man/man7/hier.7:427:6: STYLE: referenced manual not found: 
Xr vi 1 (2 times)

The three manual pages do exist.

How should I edit those three lines (237, 330, 427) for the linter to 
not give the STYLE response?