ypmatch(1) UNIX System V ypmatch(1)
NAME
ypmatch - print the value of one or more keys from the NIS map
SYNOPSIS
ypmatch [ -d ypdomain ] [ -k ] key... mname
DESCRIPTION
ypmatch prints the values associated with one or more keys from the NIS
name services map specified by mname, which may be either a mapname or an
map nickname.
Multiple keys can be specified; the same map will be searched for all
keys. 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.
The following options are available:
-d ypdomain 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 so many keys
were specified that the output could be confusing.
SEE ALSO
ypcat(1), ypfiles(4)
10/89 Page 1