Package: man-db Version: 2.4.3-3 Severity: normal
Piping weirdness. This might even be a 'grep' bug, I dunno.
This works OK:
% man dpkg | grep deinstall
Reformatting dpkg(1), please wait...
deinstall
The package is selected for deinstallation (i.e. we want
to
of install, hold, deinstall or purge. Blank lines and
comment
removed, it will be marked selected for deinstallation.
...but add an innocuous switch and:
% man dpkg | grep --quiet deinstall
Reformatting dpkg(1), please wait...
man: command exited with status 13: /usr/bin/zsoelim /tmp/zmanuLp4sT |
/usr/bin/tbl | /usr/bin/nroff -mandoc -Tascii | /usr/bin/col -b -p -x |
/usr/bin/pager -s
What I can't understand is why a change to 'grep' should affect 'man'.
Attached is a debug output file, made like so:
% man --debug dpkg 2> /tmp/man.dbg | grep -q deinstall
Hope this helps...
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Versions of packages man-db depends on:
ii bsdmainutils 6.1.2 collection of more utilities from
ii debconf [debconf-2.0] 1.4.58 Debian configuration management sy
ii dpkg 1.13.11.0.1 package maintenance system for Deb
ii groff-base 1.18.1.1-10 GNU troff text-formatting system (
ii libc6 2.3.5-7 GNU C Library: Shared libraries an
ii libgdbm3 1.8.3-2 GNU dbm database routines (runtime
man-db recommends no packages.
-- debconf information:
man-db/build-database: true
* man-db/rebuild-database: true
* man-db/install-setuid: true
man.dbg.gz
Description: Binary data

