Annotation of src/usr.bin/ypcat/ypcat.1, Revision 1.10
1.10 ! schwarze 1: .\" $OpenBSD: ypcat.1,v 1.9 2013/08/14 06:32:31 jmc Exp $
1.2 deraadt 2: .\" $NetBSD: ypcat.1,v 1.4 1996/05/13 02:43:36 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.10 ! schwarze 32: .\" $Id: ypcat.1,v 1.9 2013/08/14 06:32:31 jmc Exp $
1.1 deraadt 33: .\"
1.10 ! schwarze 34: .Dd $Mdocdate: August 14 2013 $
1.1 deraadt 35: .Dt YPCAT 1
36: .Os
37: .Sh NAME
38: .Nm ypcat
1.9 jmc 39: .Nd print the values of all keys in a YP database
1.1 deraadt 40: .Sh SYNOPSIS
41: .Nm ypcat
42: .Op Fl kt
43: .Op Fl d Ar domainname
44: .Ar mapname
1.4 aaron 45: .Nm ypcat
1.1 deraadt 46: .Fl x
47: .Sh DESCRIPTION
1.4 aaron 48: .Nm
49: prints out the values of all keys from the
1.1 deraadt 50: .Tn YP
51: database specified by
1.3 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.5 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
60: Display map keys.
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 ,
1.3 aaron 71: .Xr ypmatch 1 ,
72: .Xr ypwhich 1 ,
73: .Xr yp 8 ,
1.1 deraadt 74: .Xr ypbind 8 ,
75: .Xr yppoll 8 ,
1.3 aaron 76: .Xr ypset 8
1.6 aaron 77: .Sh AUTHORS
1.10 ! schwarze 78: .An Theo de Raadt