'\"macro stdmacro
.if n .pH g1.ypcat @(#)ypcat	40.2 of 12/29/89
.\" Copyright 1989 AT&T
.\" @(#)ypcat.1 1.10 89/09/28 SMI
.\" Copyright (c) 1988 Sun Microsystems, Inc. - All Rights Reserved.
.nr X
.if \nX=0 .ds x} ypcat 1 "" "\&"
.if \nX=1 .ds x} ypcat 1 ""
.if \nX=2 .ds x} ypcat 1 "" "\&"
.if \nX=3 .ds x} ypcat "" "" "\&"
.TH \*(x}
.SH NAME
ypcat \- print values in a YP data base
.SH SYNOPSIS
\f4ypcat\fR
[
\f4\-k\fR
] [
\f4\-d\fR
\f2ypdomain\fR
]
\f2mname\fR
.SH DESCRIPTION
.P
The
\f4ypcat\fR
command prints out values in the
\s-1YP\s0 name service map specified by
\f2mname\fR,
which may be either a map name or a map nickname.
Since
\f4ypcat\fR
uses the
\s-1YP\s0
network services, no
\s-1YP\s0
server is specified.
.P
Refer to
\f4ypfiles\fR(4)
and
\f4ypserv\fR(1M)
for an overview of the YP name service.
.P
The following options are available:
.TP
\f4\-d \f2ypdomain\fR
Specify a domain other that the default domain.
.TP
\f4\-k\fR
Display the keys for those maps in which the values
are null or the key is not part of the value.
None of the maps derived from files that have an
\s-1ASCII\s0
version in
\f4/etc\fR
fall into this class.
.SH "SEE ALSO"
\f4ypmatch\fR(1),
\f4ypserv\fR(1M),
\f4ypfiles\fR(4)
