Package: man-db Version: 2.5.2-4 Severity: minor Tags: patch In man(1), the example for the "-r" prompt is missing an escape for the backslash for the last space, ie:
.B byte\e\ %bB?s/%s..?\e\ (END):?pB\ %pB\e\e%.. should be: .B byte\e\ %bB?s/%s..?\e\ (END):?pB\e\ %pB\e\e%.. Trying to use the example (eg setting $MANOPT in the environment), causes man to complain: man: Too many arguments Try `man --help' or `man --usage' for more information. In Debian Etch, apparently man-db used getopt for argument parsing and did not complain about this. In Debian Lenny, apparently man-db uses gnulib argp now, and it gives the above error. (Thus, this bug was experienced as an etch->lenny upgrade problem, until I tracked it to the $MANOPT in my environment.) The man(1) page has the typo in both etch and lenny. -- System Information: Debian Release: 5.0 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.24-23-xen (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages man-db depends on: ii bsdmainutils 6.1.10 collection of more utilities from ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy ii dpkg 1.14.25 Debian package management system ii groff-base 1.18.1.1-21 GNU troff text-formatting system ( ii libc6 2.7-18 GNU C Library: Shared libraries ii libgdbm3 1.8.3-3 GNU dbm database routines (runtime ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime man-db recommends no packages. Versions of packages man-db suggests: pn groff <none> (no description available) ii less 418-1 Pager program similar to more ii lynx-cur [www-browser] 2.8.7dev9-2.1 Text-mode WWW Browser with NLS sup -- debconf information: man-db/install-setuid: false *** /tmp/man.1.diff --- man.1.orig 2009-01-24 07:30:57.000000000 -0500 +++ man.1 2009-03-10 14:23:34.000000000 -0400 @@ -740,7 +740,7 @@ .B \e\ Manual\e\ page\e\ \e$MAN_PN\e\ ?ltline\e\ %lt?L/%L.: .br -.B byte\e\ %bB?s/%s..?\e\ (END):?pB\ %pB\e\e%.. +.B byte\e\ %bB?s/%s..?\e\ (END):?pB\e\ %pB\e\e%.. It is broken into two lines here for the sake of readability only. For its meaning see the
--- man.1.orig 2009-01-24 07:30:57.000000000 -0500 +++ man.1 2009-03-10 14:23:34.000000000 -0400 @@ -740,7 +740,7 @@ .B \e\ Manual\e\ page\e\ \e$MAN_PN\e\ ?ltline\e\ %lt?L/%L.: .br -.B byte\e\ %bB?s/%s..?\e\ (END):?pB\ %pB\e\e%.. +.B byte\e\ %bB?s/%s..?\e\ (END):?pB\e\ %pB\e\e%.. It is broken into two lines here for the sake of readability only. For its meaning see the