Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/share/man/man5 Pull up revisions 1.8-1.11 (requested by...
details: https://anonhg.NetBSD.org/src/rev/1230bb92f8ac
branches: netbsd-1-5
changeset: 491772:1230bb92f8ac
user: jhawk <jhawk%NetBSD.org@localhost>
date: Fri May 18 02:20:37 2001 +0000
description:
Pull up revisions 1.8-1.11 (requested by wiz):
Fix grammar errors; addresses PR misc/12966
diffstat:
share/man/man5/hosts.5 | 28 ++++++++++++++++++----------
1 files changed, 18 insertions(+), 10 deletions(-)
diffs (69 lines):
diff -r 57087b70b5c7 -r 1230bb92f8ac share/man/man5/hosts.5
--- a/share/man/man5/hosts.5 Tue May 15 22:58:03 2001 +0000
+++ b/share/man/man5/hosts.5 Fri May 18 02:20:37 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: hosts.5,v 1.7 2000/06/14 03:57:23 itojun Exp $
+.\" $NetBSD: hosts.5,v 1.7.2.1 2001/05/18 02:20:37 jhawk Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -33,7 +33,7 @@
.\"
.\" @(#)hosts.5 8.2 (Berkeley) 12/11/93
.\"
-.Dd January 16, 1999
+.Dd November 17, 2000
.Dt HOSTS 5
.Os
.Sh NAME
@@ -42,7 +42,7 @@
.Sh DESCRIPTION
The
.Nm hosts
-file contains information regarding
+file contains information regarding the known hosts on the network.
It can be used in conjunction with the DNS, and the
.Tn NIS
maps
@@ -52,17 +52,24 @@
as controlled by
.Xr nsswitch.conf 5 .
.Pp
-the known hosts on the network.
For each host a single line should be present
with the following information:
-.Bd -unfilled -offset indent
+.Dl address hostname [alias ...]
+.Pp
+These are:
+.Bl -tag -width hostname -compact -offset indent
+.It Em address
Internet address
+.It Em hostname
Official host name
-Aliases
-.Ed
+.It Em alias
+Alias host name
+.El
.Pp
Items are separated by any number of blanks and/or
-tab characters. A ``#'' indicates the beginning of
+tab characters. A hash sign
+.Pq Dq \&#
+indicates the beginning of
a comment; characters up to the end of the line are
not interpreted by routines which search the file.
.Pp
@@ -92,8 +99,9 @@
Internet.
.Pp
As network addresses, both IPv4 and IPv6 addresses are allowed.
-IPv4 addresses are specified in the conventional
-``.'' (dot) notation using the
+IPv4 addresses are specified in the conventional dot
+.Pq Dq \&.
+notation using the
.Xr inet_pton 3
routine
from the Internet address manipulation library,
Home |
Main Index |
Thread Index |
Old Index