[File] More roff fixes manpage

Christoph Biedl astron.com.bwoj at manchmal.in-ulm.de
Mon Sep 25 19:02:09 UTC 2023


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


More information about the File mailing list