Annotation of src/usr.bin/ypmatch/ypmatch.1, Revision 1.9
1.9 ! jmc 1: .\" $OpenBSD: ypmatch.1,v 1.8 2000/11/10 05:10:43 aaron 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.9 ! jmc 32: .\" $Id: ypmatch.1,v 1.8 2000/11/10 05:10:43 aaron Exp $
1.1 deraadt 33: .\"
1.9 ! jmc 34: .Dd $Mdocdate$
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
44: .Ar key ...
45: .Ar mapname
1.6 aaron 46: .Nm ypmatch
1.1 deraadt 47: .Fl x
48: .Sh DESCRIPTION
1.6 aaron 49: .Nm
50: prints out the values of one or more keys from the
1.1 deraadt 51: .Tn YP
52: database specified by
1.4 aaron 53: .Ar mapname ,
1.1 deraadt 54: which may be a map name or a map nickname.
55: .Pp
56: The options are as follows:
1.7 aaron 57: .Bl -tag -width Ds
1.1 deraadt 58: .It Fl d Ar domainname
59: Specify a domain other than the default domain.
60: .It Fl k
1.2 deraadt 61: Print the map key followed by a colon, before printing key value.
1.1 deraadt 62: This option is useful with maps in which the values are null or the key
63: is not part of the value.
64: .It Fl t
65: Inhibit translation of map nicknames
66: to their corresponding map names.
67: .It Fl x
68: Display the map nickname table.
69: .El
70: .Sh SEE ALSO
71: .Xr domainname 1 ,
72: .Xr ypcat 1 ,
73: .Xr ypwhich 1 ,
1.5 alex 74: .Xr yp 8 ,
1.4 aaron 75: .Xr ypbind 8 ,
76: .Xr yppoll 8 ,
77: .Xr ypset 8
1.8 aaron 78: .Sh AUTHORS
1.1 deraadt 79: Theo De Raadt