wwhheerreeiiss -- Command

Locate source, binary, and manual files
wwhheerreeiiss [-bbmmrrssuu] [-BBMMSS _d_i_r ... -ff] _n_a_m_e ...

The command  wwhheerreeiiss locates source files,  binary files (executables), and
manual pages  (documentation) that match a given  _n_a_m_e. Prior to searching,
wwhheerreeiiss strips _n_a_m_e of any path information, extensions, and the ss. prefix.

By default, wwhheerreeiiss searches the following directories:

_S_o_u_r_c_e_s        _B_i_n_a_r_i_e_s       _M_a_n_u_a_l _P_a_g_e_s
/usr/src/cmd   /bin           /usr/man/*
/usr/src/games /usr/bin
/usr/src/local /usr/games
/usr/src/alien /usr/local
/usr/include   /etc
/usr/include/sys              /lib
               /usr/lib

_O_p_t_i_o_n_s
wwhheerreeiiss recognizes the following command-line options:

-bb  Search only for binary files.

-BB  Use  the  directory  list  specified  by  _d_i_r instead  of  the  default
    directory list for binary files.

-ff  Terminate the  directory list introduced by options -BB,  -MM, or -SS, and
    treat  any  additional  command-line  arguments  as  file names  to  be
    searched for.

-mm  Search only for manual pages (documentation files).

-MM  Use  the  directory  list  specified  by  _d_i_r instead  of  the  default
    directory list for manual pages.

-rr  Search recursively  downward from the  directories specified by  _d_i_r or
    from the default directories.   This option is useful when the searched
    directories contain sub-directories.  By default, wwhheerreeiiss searches only
    the directories specified or the default directories.

-ss  Search only for source files.

-SS  Use  the  directory  list  specified  by  _d_i_r instead  of  the  default
    directory list for source files.

-uu  Search for ``unusual'' files.  A file  is said to be unusual if it does
    not have one entry for each of the three search categories.

Please note  that if you  use options -BB,  -SS, or -MM,  you must use  the -ff
option to terminate the directory list specified by _d_i_r.

_E_x_a_m_p_l_e
The following example finds all  commands in directory bbiinn that have either
no  corresponding  source   code  in  directory  ssrrcc  or  no  corresponding
documentation in directory ddoocc:

    whereis -u -M doc -S src -B bin -f bin/*

_S_e_e _A_l_s_o
ccoommmmaannddss, ffiinndd, qqffiinndd, wwhhiicchh

_N_o_t_e_s
wwhheerreeiiss  is copyright  (c) 1980,1990  by The Regents  of the  University of
California.  All rights reserved.

wwhheerreeiiss is  distributed as a service  to COHERENT customers, as  is.  It is
not supported by Mark Williams Company.  _C_a_v_e_a_t _u_t_i_l_i_t_o_r.
