Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ypmatch(1) — UTek 3.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ypcat(1)

ypfiles(5)



YPMATCH(1)              COMMAND REFERENCE              YPMATCH(1)



NAME
     ypmatch - print the value of one or more keys from a Yellow
     Pages map

SYNOPSIS
     ypmatch [ -d domain ] [ -k ] [ -t ] key ...  mname
     ypmatch -x

DESCRIPTION
     The program ypmatch prints the values associated with one or
     more keys from the Yellow Pages (YP) map specified by a
     mname, which may be either a mapname or a map nickname.

     Multiple keys can be specified; the same map is searched for
     all.  The keys must be exact values insofar as
     capitalization and length are concerned.  No pattern
     matching is available. If a key is not matched, a diagnostic
     message is produced.

OPTIONS
     -ddomain  Specify a domain other than the default domain.

     -k        Before printing the value of a key, print the key
               itself, followed by a colon ( : ); this is useful
               only if the keys are not duplicated in the values,
               or you've specified so many keys that the output
               could be confusing.

     -t        Inhibit translation of nickname to mapname.  For
               example, the command
               ypmatch -t zippy passwd
               will fail because there is no map named passwd,
               while the command
               ypmatch zippy passwd will be translated to
               ypmatch zippy passwd.byname.

     -x        Display the map nickname table; this lists the
               nicknames (mnames) the command knows of, and
               indicates the mapname associated with each
               nickname.

SEE ALSO
     ypcat(1), ypfiles(5).












Printed 5/12/88                                                 1





































































%%index%%
na:312,126;
sy:438,410;
de:848,690;
op:1538,1180;
se:2718,143;
%%index%%000000000096

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026