Hi Branden,

On 5/3/23 00:21, Alejandro Colomar wrote:
> 
> troff:man3/unlocked_stdio.3:123: warning [p 2, 1.8i, div '3tbd1,0', 0.3i]: 
> cannot break line
> 
> an.tmac:man4/cciss.4:164: style: blank line in input
> 
> man4/console_codes.4:324: warning: table wider than line length minus 
> indentation
> 

I find it more readable when there's one space between the program
that generates the warning and the file.  That's what mandoc(1) does,
and in general, what any program that relies on perror(3) does (I'm
assuming mandoc(1) probably calls perror(3) or similar).

Compare:

mandoc: man8/unitd.8:6:2: WARNING: first section is not "NAME": Sh Name
troff:man3/unlocked_stdio.3:123: warning [p 2, 1.8i, div '3tbd1,0', 0.3i]: 
cannot break line

I suggest adding such space, which BTW would allow you to call
perror(3) in some cases.

Cheers,
Alex

-- 
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to