xref: /freebsd/usr.bin/ypcat/ypcat.1 (revision 2b7af31cf5e70677f52214702a95d4225564c52d)
173407b34SGarrett Wollman.\" Copyright (c) 1993 Winning Strategies, Inc.
273407b34SGarrett Wollman.\" All rights reserved.
373407b34SGarrett Wollman.\"
473407b34SGarrett Wollman.\" Redistribution and use in source and binary forms, with or without
573407b34SGarrett Wollman.\" modification, are permitted provided that the following conditions
673407b34SGarrett Wollman.\" are met:
773407b34SGarrett Wollman.\" 1. Redistributions of source code must retain the above copyright
873407b34SGarrett Wollman.\"    notice, this list of conditions and the following disclaimer.
973407b34SGarrett Wollman.\" 2. Redistributions in binary form must reproduce the above copyright
1073407b34SGarrett Wollman.\"    notice, this list of conditions and the following disclaimer in the
1173407b34SGarrett Wollman.\"    documentation and/or other materials provided with the distribution.
1273407b34SGarrett Wollman.\" 3. All advertising materials mentioning features or use of this software
1373407b34SGarrett Wollman.\"    must display the following acknowledgement:
1473407b34SGarrett Wollman.\"      This product includes software developed by Winning Strategies, Inc.
1573407b34SGarrett Wollman.\" 4. The name of the author may not be used to endorse or promote products
164a8d0283SMike Pritchard.\"    derived from this software without specific prior written permission
1773407b34SGarrett Wollman.\"
1873407b34SGarrett Wollman.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
1973407b34SGarrett Wollman.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
2073407b34SGarrett Wollman.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2173407b34SGarrett Wollman.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
2273407b34SGarrett Wollman.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
2373407b34SGarrett Wollman.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2473407b34SGarrett Wollman.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2573407b34SGarrett Wollman.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2673407b34SGarrett Wollman.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2773407b34SGarrett Wollman.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2873407b34SGarrett Wollman.\"
29c3aac50fSPeter Wemm.\" $FreeBSD$
3073407b34SGarrett Wollman.\"
3173407b34SGarrett Wollman.Dd December 3, 1993
3273407b34SGarrett Wollman.Dt YPCAT 1
3373407b34SGarrett Wollman.Os
3473407b34SGarrett Wollman.Sh NAME
3573407b34SGarrett Wollman.Nm ypcat
3673407b34SGarrett Wollman.Nd "print the values of all keys in a YP database"
3773407b34SGarrett Wollman.Sh SYNOPSIS
388fe908efSRuslan Ermilov.Nm
3973407b34SGarrett Wollman.Op Fl kt
4073407b34SGarrett Wollman.Op Fl d Ar domainname
4173407b34SGarrett Wollman.Ar mapname
428fe908efSRuslan Ermilov.Nm
4373407b34SGarrett Wollman.Fl x
4473407b34SGarrett Wollman.Sh DESCRIPTION
45e8937ba0SPhilippe CharnierThe
46e8937ba0SPhilippe Charnier.Nm
47e8937ba0SPhilippe Charnierutility prints out the values of all keys from the
4873407b34SGarrett Wollman.Tn YP
4973407b34SGarrett Wollmandatabase specified by
5073407b34SGarrett Wollman.Ar mapname ,
5173407b34SGarrett Wollmanwhich may be a map name or a map nickname.
5273407b34SGarrett Wollman.Pp
5373407b34SGarrett WollmanThe options are as follows:
5473407b34SGarrett Wollman.Bl -tag -width indent
5573407b34SGarrett Wollman.It Fl d Ar domainname
5673407b34SGarrett WollmanSpecify a domain other than the default domain.
5773407b34SGarrett Wollman.It Fl k
5873407b34SGarrett WollmanDisplay map keys.
5973407b34SGarrett WollmanThis option is useful with maps in which the values are null or the key
6073407b34SGarrett Wollmanis not part of the value.
6173407b34SGarrett Wollman.It Fl t
6273407b34SGarrett WollmanInhibit translation of map nicknames
6373407b34SGarrett Wollmanto their corresponding map names.
6473407b34SGarrett Wollman.It Fl x
6573407b34SGarrett WollmanDisplay the map nickname table.
6673407b34SGarrett Wollman.El
6773407b34SGarrett Wollman.Sh SEE ALSO
68c1f84cc1SPhilippe Charnier.Xr domainname 1 ,
6973407b34SGarrett Wollman.Xr ypmatch 1 ,
70491a8429SRuslan Ermilov.Xr yp 8 ,
71c1f84cc1SPhilippe Charnier.Xr ypbind 8 ,
72c1f84cc1SPhilippe Charnier.Xr ypset 8
73306005e7SPhilippe Charnier.Sh AUTHORS
74*2b7af31cSBaptiste Daroussin.An Theo De Raadt Aq Mt deraadt@theos.com .
75