2 .\" Copyright 1989 AT&T Copyright (c) 1997 Sun Microsystems, Inc. All Rights Reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH YPMATCH 1 "Aug 22, 1997"
8 ypmatch \- print the value of one or more keys from a NIS map
12 \fBypmatch\fR [\fB-k\fR] [\fB-t\fR] [\fB-d\fR \fIdomain\fR] \fIkey\fR [\fIkey\fR]... \fImname\fR
17 \fBypmatch\fR \fB-x\fR
23 \fBypmatch\fR prints the values associated with one or more keys from the
24 \fBNIS's\fR name services map specified by \fImname\fR, which may be either a
25 map name or a map nickname.
28 Multiple keys can be specified; all keys will be searched for in the same map.
29 The keys must be the same case and length. No pattern matching is available. If
30 a key is not matched, a diagnostic message is produced.
34 The following options are supported:
41 Before printing the value of a key, print the key itself, followed by a colon
51 Inhibit map nickname translation.
57 \fB\fB-d\fR\fI domain\fR\fR
60 Specify a domain other than the default domain.
69 Display the map nickname table. This lists the nicknames the command knows of,
70 and indicates the map name associated with each nickname.
76 The following operand is supported:
83 The \fBNIS's\fR name services map
89 The following exit values are returned:
111 \fBypcat\fR(1), \fBypfiles\fR(4), \fBattributes\fR(5)
115 \fBypmatch\fR will fail with an \fBRPC\fR error message on yp operation if
116 enough file descriptors are not available. The number of file descriptors
117 should be increased if this occurs.