• How does lintian use groff to validate man =?UTF-8?Q?pages=3F?=

    From c.buhtz@posteo.jp@21:1/5 to All on Fri Jun 28 12:50:01 2024
    Hello,

    from the past I do remember that lintian do use "groff" to validate/lint
    man pages and their syntax.
    I would like to know the exact call including options that lintian use
    to execute groff on a man page file.

    I don't get it using the man page of groff. It alwas output a lot of man
    page syntax. And my man page can not be that shitty. ;)

    Thanks,
    Christian

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From c.buhtz@posteo.jp@21:1/5 to All on Fri Jun 28 13:40:01 2024
    Hello Étienne,

    thanks for the reply.

    Am 28.06.2024 13:00 schrieb Étienne Mollier:
    lintian-explain-tags can provide you with extensive information
    ...
    N: LC_ALL=C.UTF-8 MANROFFSEQ='' MANWIDTH=80 \
    N: man --warnings -E UTF-8 -l -Tutf8 -Z <file> >/dev/null

    Do I do something wrong? It is not working in my case (running on Debian
    12):

    groff LC_ALL=C.UTF-8 MANROFFSEQ='' MANWIDTH=80 man --warnings -E UTF-8
    -l -Tutf8 -Z ./backintime.1 >/dev/null
    groff: unrecognized option '--warnings'

    Best,
    Christian

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)