Amiga Unix — 68040 · 68060

Manual pages › General commands (1)

ypmatch(1)

print the value of one or more keys from a YP map

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

NAME

ypmatch - print the value of one or more keys from a YP map

SYNOPSIS

ypmatch [ -d ypdomain ] [ -k ] key...  mname

DESCRIPTION

ypmatch prints the values associated with one or more keys from the YPs 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)