Hi Branden,

On Tue, Aug 12, 2025 at 11:18:41AM +0200, Alejandro Colomar wrote:
> The output looks like this:
> 
>       $ make lint-man-blank -R
>       GREP ^$         .tmp/man/man7/bpf-helpers.7.lint-man.blank.touch
>       .tmp/man/man7/bpf-helpers.7: spurious blank lines:
>       548:
>       552:
>       555:
>       3057:
>       make: *** 
> [/srv/alx/src/linux/man-pages/man-pages/contrib/share/mk/lint/man/blank.mk:22:
>  .tmp/man/man7/bpf-helpers.7.lint-man.blank.touch] Error 1

Actually, this has some false positives in tbl code:

        $ grep -m1 -B3 -A8 ^$ man/man7/inode.7
        .TS
        lB l l.
        S_IFMT  0170000 bit mask for the file type bit field

        S_IFSOCK        0140000 socket
        S_IFLNK 0120000 symbolic link
        S_IFREG 0100000 regular file
        S_IFBLK 0060000 block device
        S_IFDIR 0040000 directory
        S_IFCHR 0020000 character device
        S_IFIFO 0010000 FIFO
        .TE

Is there a way to avoid these blanks in tbl code?


Have a lovely day!
Alex

-- 
<https://www.alejandro-colomar.es/>

Attachment: signature.asc
Description: PGP signature

Reply via email to