


UUWHO(1)                                                 UUWHO(1)


NNAAMMEE
       uuwho - show map entry for a site

SSYYNNOOPPSSIISS
       uuuuwwhhoo [ --rr ] [ --dd _d_b_m_f_i_l_e ] [ _s_i_t_e_n_a_m_e ] ...
       uuuuwwhhoo --ii [ --dd _d_b_m_f_i_l_e ] _m_a_p_f_i_l_e _._._.

DDEESSCCRRIIPPTTIIOONN
       _U_u_w_h_o  without  the  --ii  option extracts the map entry for
       each given _s_i_t_e_n_a_m_e_.  The output provides labels  for  the
       site  entry and includes all the connection information as
       determined by the UUCP mapping project.  By default, uuwho
       extracts a map for the local site where the local sitename
       is determined in a system dependent fashion.

       --ii     If the option --ii is given, then map  info  will  be
              added  to  a  _d_b_m(3X)-style  database,  rather than
              printing info about a site.   This  information  is
              then  available  for  use  by subsequent _u_u_w_h_o com-
              mands.

       --dd _d_b_m_f_i_l_e
              This  option  specifies  the  basename  for  a  _d_b_m
              database is to be used for this operation.  If _d_b_m_-
              _f_i_l_e begins with a ``/'' or ``.'', then it is taken
              to  be  the  actual  database name, otherwise it is
              assumed  to  be  a   file   under   the   directory
              _/_u_s_r_/_l_i_b_/_m_a_i_l_.  If the --dd option is not given, then
              _d_b_m_f_i_l_e defaults to _/_u_s_r_/_l_i_b_/_m_a_i_l_/_u_u_w_h_o.

       --rr     If the option --rr is given, then raw map entries are
              printed.   Without  this option, recognized #letter
              lines are listed in a more symbolic form.

       Each _m_a_p_f_i_l_e file is scanned for lines of the form:

              ##NN _s_i_t_e_n_a_m_e
              ##NN _s_i_t_e_n_a_m_e_1, _s_i_t_e_n_a_m_e_2, ...

       indicating that a new map  is  starting.   In  the  second
       form,  each  _s_i_t_e_n_a_m_e  is  considered to belong to the map
       that follows.  Sitenames listed on such lines  become  the
       _s_i_t_e_n_a_m_e  keywords  which  are  available  for  subsequent
       requests.

       A _m_a_p_f_i_l_e of -- indicates that a map should  be  read  from
       standard input.  Lines of the form:

              ffiillee {{ ffiilleennaammee }}

       indicate  that  the line following should be considered as
       if it were the first line of the stated file.





                                                                1





UUWHO(1)                                                 UUWHO(1)


EEXXAAMMPPLLEESS
       uuwho walldrug hoptoad
       uuwho -d other_dbm
       find /usr/spool/uumaps -name '[ud].*' -print |
       while read file; do
                      echo "file { $file }"
                      cat $file
       done | uuwho -i -

FFIILLEESS
       _d_b_m_f_i_l_e_._p_a_g, _d_b_m_f_i_l_e_._d_i_r
                      The two parts of a dbm database,  when  the
                      DBM  library is used to store the database.
                      The _._p_a_g file contains the  keys  and  data
                      associated  with  the  database,  while the
                      _._d_i_r file contains information that affects
                      the  hashing  algorithm  used  to determine
                      which block contains a particular value.

       _/_u_s_r_/_l_i_b_/_m_a_i_l_/_u_u_w_h_o
                      The basename for the default  _d_b_m  database
                      files.   If  the  DBM  library is not used,
                      then this is the name  used  to  store  the
                      default database, as a sorted file.

SSEEEE AALLSSOO
       _p_a_t_h_t_o(1), _d_b_m(3X), and _p_a_t_h_a_l_i_a_s(8).

BBUUGGSS
       If  a  site  has  more  than one map entry only the latter
       entry is shown.

       The information available for a site may not be current.

       Only sites marked via ##NN in the map database  are  listed.
       Normally,  sites  listed under a domain will not be marked
       using ##NN.  In this case the domain, including the dot  but
       excluding the machine name must be used.



















                                                                2


