Bug#1041158: perl: pod2man propagates duplicate space in the man page
Vincent Lefevre
vincent at vinc17.net
Sat Jul 15 10:36:54 BST 2023
Package: perl
Version: 5.36.0-7
Severity: normal
pod2man propagates duplicate space in the man page (contrary to
pod2text).
For instance, /usr/sbin/pam_getenv contains
This tool will print out the value [...]
with 2 space characters between "tool" and "will" (this is probably
unwanted, but this shouldn't yield inconsistencies in their handling).
The pod2text utility generates only one space:
zira:~> pod2text /usr/sbin/pam_getenv | grep tool
This tool will print out the value of *env_var* from /etc/environment.
but pod2man keeps both spaces, so that one gets them in the man page:
"pod2man /usr/sbin/pam_getenv | man -l -" gives
[...]
DESCRIPTION
This tool will print out the value of env_var from /etc/environment.
[...]
-- System Information:
Debian Release: trixie/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
merged-usr: no
Architecture: amd64 (x86_64)
Kernel: Linux 6.3.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages perl depends on:
ii dpkg 1.21.22
ii libperl5.36 5.36.0-7
ii perl-base 5.36.0-7
ii perl-modules-5.36 5.36.0-7
Versions of packages perl recommends:
ii netbase 6.4
Versions of packages perl suggests:
pn libtap-harness-archive-perl <none>
ii libterm-readline-perl-perl 1.0303-2.1
ii make 4.3-4.1
ii perl-doc 5.36.0-7
-- no debconf information
--
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
More information about the Perl-maintainers
mailing list