Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ypfiles(5)

ypcat(1)

YPMATCH(1)  —  Unix Programmer’s Manual

NAME

ypmatch - print the value of one or more keys from a yellow pages map (NFS only)

SYNOPSIS

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

DESCRIPTION

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 will be searched for all.  The keys must be exact values where capitalization and length are concerned.  No pattern matching is available.  If a key is not matched, a diagnostic message is produced. 

OPTIONS

−dSpecify a domain other that the default domain. 

−kBefore 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. 

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

−xDisplay the map nickname table.  This lists the nicknames (mnames) the command knows of, and indicates the mapname associated with each nickname. 

SEE ALSO

ypfiles(5), ypcat(1)
IBM Network File System User’s Guide

7th Edition  —  19 August 1985

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