Bug#1101359: manual page is malformed
Brendan O'Dea
bod at debian.org
Wed May 28 06:21:16 BST 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
More information about the pkg-gnome-maintainers
mailing list