Annotation of src/usr.bin/ypmatch/ypmatch.1, Revision 1.11
1.11 ! sobrado 1: .\" $OpenBSD: ypmatch.1,v 1.10 2008/05/24 13:59:09 sobrado Exp $
1.3 deraadt 2: .\" $NetBSD: ypmatch.1,v 1.5 1996/05/13 02:43:41 thorpej Exp $
1.1 deraadt 3: .\"
4: .\" Copyright (c) 1993 Winning Strategies, Inc.
5: .\" All rights reserved.
6: .\"
7: .\" Redistribution and use in source and binary forms, with or without
8: .\" modification, are permitted provided that the following conditions
9: .\" are met:
10: .\" 1. Redistributions of source code must retain the above copyright
11: .\" notice, this list of conditions and the following disclaimer.
12: .\" 2. Redistributions in binary form must reproduce the above copyright
13: .\" notice, this list of conditions and the following disclaimer in the
14: .\" documentation and/or other materials provided with the distribution.
15: .\" 3. All advertising materials mentioning features or use of this software
16: .\" must display the following acknowledgement:
17: .\" This product includes software developed by Winning Strategies, Inc.
18: .\" 4. The name of the author may not be used to endorse or promote products
19: .\" derived from this software without specific prior written permission
20: .\"
21: .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
22: .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
23: .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
24: .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
25: .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
26: .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27: .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28: .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29: .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
30: .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31: .\"
1.11 ! sobrado 32: .\" $Id: ypmatch.1,v 1.10 2008/05/24 13:59:09 sobrado Exp $
1.1 deraadt 33: .\"
1.11 ! sobrado 34: .Dd $Mdocdate: May 24 2008 $
1.1 deraadt 35: .Dt YPMATCH 1
36: .Os
37: .Sh NAME
38: .Nm ypmatch
39: .Nd "print the values of one or more keys in a YP database"
40: .Sh SYNOPSIS
41: .Nm ypmatch
42: .Op Fl kt
43: .Op Fl d Ar domainname
1.11 ! sobrado 44: .Ar key ... mapname
1.6 aaron 45: .Nm ypmatch
1.1 deraadt 46: .Fl x
47: .Sh DESCRIPTION
1.6 aaron 48: .Nm
49: prints out the values of one or more keys from the
1.1 deraadt 50: .Tn YP
51: database specified by
1.4 aaron 52: .Ar mapname ,
1.1 deraadt 53: which may be a map name or a map nickname.
54: .Pp
55: The options are as follows:
1.7 aaron 56: .Bl -tag -width Ds
1.1 deraadt 57: .It Fl d Ar domainname
58: Specify a domain other than the default domain.
59: .It Fl k
1.2 deraadt 60: Print the map key followed by a colon, before printing key value.
1.1 deraadt 61: This option is useful with maps in which the values are null or the key
62: is not part of the value.
63: .It Fl t
64: Inhibit translation of map nicknames
65: to their corresponding map names.
66: .It Fl x
67: Display the map nickname table.
68: .El
69: .Sh SEE ALSO
70: .Xr domainname 1 ,
71: .Xr ypcat 1 ,
72: .Xr ypwhich 1 ,
1.5 alex 73: .Xr yp 8 ,
1.4 aaron 74: .Xr ypbind 8 ,
75: .Xr yppoll 8 ,
76: .Xr ypset 8
1.8 aaron 77: .Sh AUTHORS
1.10 sobrado 78: Theo de Raadt