EnglishFrenchSpanish

OnWorks favicon

whichman - Online in the Cloud

Run whichman in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command whichman that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


whichman - show the location of a man page using a fault tolerant approximate matching
algorithm

SYNOPSIS


whichman [-#ehIp][-t#] man-page-name

DESCRIPTION


whichman is a "which" alike search command for man pages. whichman searches the MANPATH
environment variable. If this variable is not defined, then it uses
/usr/share/man:/usr/man:/usr/X11R6/man: /usr/local/share/man:/usr/local/man by default.

Unlike "which" this program does not stop on the first match. The name should probably
have been something like whereman as this is not a "which" at all. whichman shows all
man-pages that match and allows you to identify the different sections to which the pages
belong.

whichman can handle international manpage path names for different languages. Man pages
in different languages may be stored in .../man/<country_code>/man[1-9]/...

By default, whichman does fault tolerant approximate string matching. With a default
tolerance level of: (strlen(searchpattern) - number of wildcards)/6 + 1

OPTIONS


-h Prints a little help/usage information.

-I Do case sensitive search (default is case in-sensitive)

-e Use exact matching when searching for a given man-page and the wildcards * and ?
are disabled.

-p print the actual tolerance level in front of the man page name.

-# or -t#
Set the fault tolerance level to #. The fault tolerance level is a integer # in
the range 0-255. It specifies the maximum number of errors permitted in finding
the approximate match. A tolerance_level of zero allows exact matches only but
does NOT disable the wildcards * and ?.

The search key may contain the wildcards * and ? (but see -e option):

'*' any arbitrary number of character

'?' one character

The last argument to whichman is not parsed for options as the program needs at least one
man-page-name argument. This means that whichman -x will not complain about a wrong option
but search for the man-page named -x.

EXAMPLE


whichman print

This will e.g. find the man-pages:
/usr/share/man/man1/printf.1.gz
/usr/share/man/man3/printf.3.gz
/usr/share/man/man3/rint.3.gz

Use whichman online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Osu!
    Osu!
    Osu! is a simple rhythm game with a well
    thought out learning curve for players
    of all skill levels. One of the great
    aspects of Osu! is that it is
    community-dr...
    Download Osu!
  • 2
    LIBPNG: PNG reference library
    LIBPNG: PNG reference library
    Reference library for supporting the
    Portable Network Graphics (PNG) format.
    Audience: Developers. Programming
    Language: C. This is an application that
    can also...
    Download LIBPNG: PNG reference library
  • 3
    Metal detector based on  RP2040
    Metal detector based on RP2040
    Based on Raspberry Pi Pico board, this
    metal detector is included in pulse
    induction metal detectors category, with
    well known advantages and disadvantages.
    RP...
    Download Metal detector based on RP2040
  • 4
    PAC Manager
    PAC Manager
    PAC is a Perl/GTK replacement for
    SecureCRT/Putty/etc (linux
    ssh/telnet/... gui)... It provides a GUI
    to configure connections: users,
    passwords, EXPECT regula...
    Download PAC Manager
  • 5
    GeoServer
    GeoServer
    GeoServer is an open-source software
    server written in Java that allows users
    to share and edit geospatial data.
    Designed for interoperability, it
    publishes da...
    Download GeoServer
  • 6
    Firefly III
    Firefly III
    A free and open-source personal finance
    manager. Firefly III features a
    double-entry bookkeeping system. You can
    quickly enter and organize your
    transactions i...
    Download Firefly III
  • More »

Linux commands

Ad