xref: /netbsd/usr.sbin/ypserv/stdhosts/stdhosts.8 (revision bf9ec67e)
1.\"	$NetBSD: stdhosts.8,v 1.8 2002/02/02 02:27:45 wiz Exp $
2.\"
3.\" Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se>
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\" 3. All advertising materials mentioning features or use of this software
15.\"    must display the following acknowledgement:
16.\"      This product includes software developed by Mats O Jansson
17.\" 4. The name of the author may not be used to endorse or promote products
18.\"    derived from this software without specific prior written permission.
19.\"
20.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
21.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
22.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
24.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.Dd August 24, 1994
33.Dt STDHOSTS 8
34.Os
35.Sh NAME
36.Nm stdhosts
37.Nd a YP filter program
38.Sh SYNOPSIS
39.Nm ""
40.Op Fl n
41.Op Ar file
42.Sh DESCRIPTION
43.Nm
44parses the
45.Xr hosts 5
46style input stream (stdin, or
47.Ar file
48if given), and outputs lines containing only the IPv4 address and host name.
49.Pp
50.Nm
51is used by other
52.Tn YP
53programs when creating some of the
54.Tn YP
55maps.
56.Pp
57.Fl n
58allows other address types in the output, including IPv6 addresses.
59.Sh SEE ALSO
60.Xr yp 8 ,
61.Xr ypserv 8
62.Sh AUTHORS
63.An Mats O Jansson Aq moj@stacken.kth.se
64