• Bug#1101359: manual page is malformed

    From VA@21:1/5 to All on Wed Mar 26 14:40:01 2025
    Package: libnotify-bin
    Version: 0.8.4-1

    When running "man notify-send", here's how it looks like (the beginning
    at least):

    ```
    NOTIFY-SEND(1) User Commands NOTIFY-SEND(1)

    .SH "NAME" notify-send - a program to send desktop notifications

    .SH "SYNOPSIS"

    .HP 288u
    ```

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Brendan O'Dea@21:1/5 to All on Wed May 28 07:30:01 2025
    On Wed, Mar 26, 2025 at 02:32:39PM +0100, VA wrote:
    Package: libnotify-bin
    Version: 0.8.4-1

    When running "man notify-send", here's how it looks like (the beginning at >least):

    ```
    NOTIFY-SEND(1) User Commands NOTIFY-SEND(1)

    .SH "NAME" notify-send - a program to send desktop notifications

    .SH "SYNOPSIS"

    .HP 288u
    ```

    I don't have sufficient experience to know why the xslt man page generator is indenting the output, but this is what is causing the dot directives to be interpreted literally (e.g. .SH).

    A simple work-around would be to post-filter the output:

    zcat /usr/share/man/man1/notify-send.1.gz |
    sed 's/^ *//; /^\.HP .*notify/d' |
    man -l -

    seems sufficiently readable.

    --bod

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