ypmatch(1) ypmatch(1)NAME ypmatch - lists the value of a specified key in a Network Information Service (NIS) map SYNOPSIS ypmatch [-d domain] [-k] [-t] key ... nickname-or-map-name ypmatch -x ARGUMENTS -d domain Specifies a domain other than the local system's domain as returned by the domainname command. -k Causes ypmatch to display the value of the key argument, followed by a colon (:), before displaying the value of the key itself. This option is useful only if the keys are not duplicated in the values, or if you've specified so many keys that the output could be confusing. -t Inhibits the translation of a nickname to a map name. For example, ypcat -t passwd fails because there is no map named passwd, whereas the passwd string in ypcat passwd is translated to ypcat passwd.byname. -x Displays the map nickname table. The table lists the nicknames the command knows of and indicates the long map name associated with each nickname. DESCRIPTION ypmatch lists the values associated with one or more keys from the NIS map specified by a nickname-or-map-name, which may be the nickname, long name, or short name of a map. See ypcat(1) for a discussion of map names and their values. When you specify multiple keys, the same map is searched for each key. The keys must be exact values insofar as capitalization and length are concerned. Pattern matching is not available. STATUS MESSAGES AND VALUES If ypmatch cannot match a key, the following message is displayed: Can't match key. Reason: no such key in map. FILES /usr/bin/ypmatch Executable file January 1992 1
ypmatch(1) ypmatch(1)SEE ALSO ypcat(1) ypfiles(4) in A/UX Programmer's Reference Chapter 4, ``Setting Up the Network Information Service,'' in A/UX Network System Administration 2 January 1992