nsswitch.conf.5: style fixes

Fix some whitespace, and remove the .Tn macro

Reported by:	mandoc, igor
Reviewed by:	bcr (manpages)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D26345
This commit is contained in:
Alan Somers 2020-09-07 13:44:54 +00:00
parent 05aca418f4
commit 5e20b96c65

View File

@ -1,4 +1,4 @@
.\" $NetBSD: nsswitch.conf.5,v 1.14 1999/03/17 20:19:47 garbled Exp $
.\" $NetBSD: nsswitch.conf.5,v 1.14 1999/03/17 20:19:47 garbled Exp $
.\"
.\" Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -16,7 +16,7 @@
.\" documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\" must display the following acknowledgement:
.\" This product includes software developed by Luke Mewburn.
.\" This product includes software developed by Luke Mewburn.
.\" 4. The name of the author may not be used to endorse or promote products
.\" derived from this software without specific prior written permission.
.\"
@ -48,8 +48,7 @@ file specifies how the
.Pp
The configuration file controls how a process looks up various databases
containing information regarding hosts, users (passwords), groups, etc.
Each database comes from a source (such as local files, DNS,
.Tn NIS ,
Each database comes from a source (such as local files, DNS, NIS ,
and cache), and the order to look up the sources is specified in
.Nm .
.Pp
@ -182,9 +181,7 @@ Try the next source
Return with the current result
.El
.Ss Format of file
A
.Tn BNF
description of the syntax of
A BNF description of the syntax of
.Nm
is:
.Pp
@ -250,12 +247,10 @@ In historical multi-source implementations, the
and
.Sq -
characters are used to specify the importing of user password and
group information from
.Tn NIS .
group information from NIS .
Although
.Nm
provides alternative methods of accessing distributed sources such as
.Tn NIS ,
provides alternative methods of accessing distributed sources such as NIS ,
specifying a sole source of
.Dq compat
will provide the historical behaviour.
@ -328,9 +323,7 @@ resides in
To lookup hosts in
.Pa /etc/hosts
, then in cache,
and then from the DNS, and lookup user information from
.Tn NIS
then files, use:
and then from the DNS, and lookup user information from NIS then files, use:
.Pp
.Bl -tag -width passwd: -compact
.It hosts:
@ -362,9 +355,7 @@ entries.
.Fx Ns 's
.Lb libc
provides stubs for compatibility with NSS modules
written for the
.Tn GNU
C Library
written for the GNU C Library
.Nm nsswitch
interface.
However, these stubs only support the use of the
@ -390,10 +381,8 @@ Project, where it appeared first in
.Sh AUTHORS
.An Luke Mewburn Aq Mt lukem@netbsd.org
wrote this freely distributable name-service switch implementation,
using ideas from the
.Tn ULTRIX
using ideas from the ULTRIX
.Xr svc.conf 5
and
.Tn Solaris
and Solaris
.Xr nsswitch.conf 4
manual pages.