xref: /freebsd/usr.bin/ypcat/ypcat.1 (revision 8fe908ef0cb7aeeb5658acd30b9c9a11b8e33b32)
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
4573407b34SGarrett Wollman.Nm Ypcat
4673407b34SGarrett Wollmanprints out the values of all keys from the
4773407b34SGarrett Wollman.Tn YP
4873407b34SGarrett Wollmandatabase specified by
4973407b34SGarrett Wollman.Ar mapname,
5073407b34SGarrett Wollmanwhich may be a map name or a map nickname.
5173407b34SGarrett Wollman.Pp
5273407b34SGarrett WollmanThe options are as follows:
5373407b34SGarrett Wollman.Bl -tag -width indent
5473407b34SGarrett Wollman.It Fl d Ar domainname
5573407b34SGarrett WollmanSpecify a domain other than the default domain.
5673407b34SGarrett Wollman.It Fl k
5773407b34SGarrett WollmanDisplay map keys.
5873407b34SGarrett WollmanThis option is useful with maps in which the values are null or the key
5973407b34SGarrett Wollmanis not part of the value.
6073407b34SGarrett Wollman.It Fl t
6173407b34SGarrett WollmanInhibit translation of map nicknames
6273407b34SGarrett Wollmanto their corresponding map names.
6373407b34SGarrett Wollman.It Fl x
6473407b34SGarrett WollmanDisplay the map nickname table.
6573407b34SGarrett Wollman.El
6673407b34SGarrett Wollman.Sh SEE ALSO
67c1f84cc1SPhilippe Charnier.Xr domainname 1 ,
6873407b34SGarrett Wollman.Xr ypmatch 1 ,
69c1f84cc1SPhilippe Charnier.Xr yp 4 ,
70c1f84cc1SPhilippe Charnier.Xr ypbind 8 ,
71c1f84cc1SPhilippe Charnier.Xr ypset 8
72306005e7SPhilippe Charnier.Sh AUTHORS
73c1f84cc1SPhilippe Charnier.An Theo De Raadt Aq deraadt@theos.com .
74