Package: man-db
Version: 2.5.7-1
Severity: normal

Two extant sections, only last prints:

    % whatis -s 1 -s 3 printf
    printf (3)           - formatted output conversion
    % whatis -s 1 -s 1 printf
    printf (1)           - format and print data
    % whatis -s 3 -s 1 printf
    printf (1)           - format and print data

Consequentially, if the 2nd section has no match, an error:

    % whatis -s 1 -s 8 printf ; echo $?
    printf: nothing appropriate.
    16

User says "What about printf(1)?"

When a list of commands that run from the command line is wanted 'grep'
will work:

    % whatis printf | grep '([18])'
    printf (1)           - format and print data

...but it'd be less convenient than:

    whatis -s 1 -s 8 printf 

...or something like:

    whatis -s '[18]' printf

Hope this helps...





whatis -s 3 -s 8 printf ; echo $?
printf: nothing appropriate.
16


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages man-db depends on:
ii  bsdmainutils            8.0.8            collection of more utilities from 
ii  debconf [debconf-2.0]   1.5.28           Debian configuration management sy
ii  dpkg                    1.15.3.1         Debian package management system
ii  groff-base              1.20.1-6         GNU troff text-formatting system (
ii  libc6                   2.10.2-5         Embedded GNU C Library: Shared lib
ii  libgdbm3                1.8.3-9          GNU dbm database routines (runtime
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

man-db recommends no packages.

Versions of packages man-db suggests:
ii  dillo [www-browser]    0.8.6-3           Small and fast web browser
ii  elinks [www-browser]   0.12~pre5-1+b1    advanced text-mode WWW browser
ii  epiphany-browser [www- 2.29.90.1-2       Intuitive GNOME web browser
ii  galeon [www-browser]   2.0.7-1.2+b1      GNOME web browser for advanced use
ii  groff                  1.20.1-6          GNU troff text-formatting system
ii  iceape-browser [www-br 2.0.1-1           Iceape Navigator (Internet browser
ii  iceweasel [www-browser 3.5.6-2           Web browser based on Firefox
ii  konqueror [www-browser 4:3.5.10.dfsg.1-2 KDE's advanced file manager, web b
ii  less                   436-1             pager program similar to more
ii  links [www-browser]    2.2-1+b1          Web browser running in text mode
ii  lynx-cur [www-browser] 2.8.8dev.2-1      Text-mode WWW Browser with NLS sup
ii  opera-static [www-brow 7.23-20031119.1   The Opera Web Browser

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to