[File] More roff fixes manpage

Christos Zoulas christos at zoulas.com
Mon Oct 9 13:22:32 UTC 2023


 Committed, thanks!

christos

> On Sep 25, 2023, at 3:02 PM, Christoph Biedl <astron.com.bwoj at manchmal.in-ulm.de> wrote:
> 
> Hello,
> 
> Debian bug report https://bugs.debian.org/1052255
> 
> | "mandoc -T lint magic.5" produces these messages:
> |
> | mandoc: magic.5:66:89: STYLE: input text line longer than 80 bytes: A 32-bit single prec...
> | mandoc: magic.5:68:89: STYLE: input text line longer than 80 bytes: A 64-bit double prec...
> | mandoc: magic.5:71:71: STYLE: whitespace at end of input line
> | mandoc: magic.5:189:81: STYLE: input text line longer than 80 bytes: A 32-bit single prec...
> | mandoc: magic.5:191:81: STYLE: input text line longer than 80 bytes: A 64-bit double prec...
> | mandoc: magic.5:272:81: STYLE: input text line longer than 80 bytes: If neither a byte or...
> | mandoc: magic.5:283:12: STYLE: no blank before trailing delimiter: Dv /number,
> | mandoc: magic.5:451:2: ERROR: skipping item outside list: It Dv test
> | mandoc: magic.5:527:2: ERROR: skipping item outside list: It Dv message
> | mandoc: magic.5:538:2: ERROR: skipping end of block that is not open: El
> 
> Most of then should be pretty obvious - except for the last three. I
> reckon they are all caused by a duplicated ".El", introduced in
> 
> 
>        commit 06242a792dc64b261316bcc6c4303851cec9f520
>        Author: Christos Zoulas <christos at zoulas.com>
>        Date:   Sat Sep 10 13:19:26 2022 +0000
> 
>            Add octal indirect magic (Michal Gorny)
> 
> Fix then was
> 
> --- a/doc/magic.man
> +++ b/doc/magic.man
> @@ -360,7 +360,6 @@ For example the magic entries:
> .It Dv octal
> A string representing an octal number.
> .El
> -.El
> .Pp
> For compatibility with the Single
> .Ux
> 
> 
> Cheers,
> 
>    Christoph
> -- 
> File mailing list
> File at astron.com
> https://mailman.astron.com/mailman/listinfo/file



More information about the File mailing list