Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mpl/bind/bin/nslookup Use standard section names, s...



details:   https://anonhg.NetBSD.org/src/rev/63e7111389b7
branches:  trunk
changeset: 1019858:63e7111389b7
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sun Mar 21 21:26:00 2021 +0000

description:
Use standard section names, sort, use more macros.

diffstat:

 external/mpl/bind/bin/nslookup/nslookup.8 |  28 ++++++++++++++--------------
 1 files changed, 14 insertions(+), 14 deletions(-)

diffs (75 lines):

diff -r fb4d4ba82cda -r 63e7111389b7 external/mpl/bind/bin/nslookup/nslookup.8
--- a/external/mpl/bind/bin/nslookup/nslookup.8 Sun Mar 21 20:44:59 2021 +0000
+++ b/external/mpl/bind/bin/nslookup/nslookup.8 Sun Mar 21 21:26:00 2021 +0000
@@ -1,4 +1,4 @@
-.\"     $NetBSD: nslookup.8,v 1.3 2021/03/21 16:21:35 christos Exp $
+.\"     $NetBSD: nslookup.8,v 1.4 2021/03/21 21:26:00 wiz Exp $
 .\"
 .\"
 .\" ++Copyright++ 1985, 1989
@@ -114,7 +114,7 @@
 To treat a built-in command as a host name,
 precede it with an escape character
 .Pq Sq \e .
-.Em N.B.:  An unrecognized command will be interpreted as a host name.
+.Em N.B.:  \&An unrecognized command will be interpreted as a host name.
 .Bl -tag -width "lserver"
 .It Ar host Op Ar server
 Look up information for
@@ -445,7 +445,7 @@
 .Oo Ic no Oc Ns Ic ig )
 .It Oo Ic no Oc Ns Ic fail
 This  keyword  tries  the next nameserver if a nameserver responds
-with 
+with
 .Dv SERVFAIL
 or a referral (nofail), or terminates the query
 (fail) on such a response.
@@ -453,24 +453,17 @@
 The default is nofail.
 .El
 .El
-.Sh RETURN VALUES
-.Nm
-returns with an exit status of
-.Dv 1
-if any query failed, and
-.Dv 0
-otherwise.
 .Sh IDN SUPPORT
-If 
+If
 .Nm
 has been built with IDN (internationalized domain name)
 support, it can accept and display non-ASCII domain names.
-.Nm 
+.Nm
 appropriately converts character encoding of a domain name before sending
 a request to a DNS server or displaying a reply from the server.
 To turn off IDN support, define the IDN_DISABLE environment variable.
 IDN support is disabled if the variable is set when
-.Nm 
+.Nm
 runs, or when the standard output is not a tty.
 .Sh ENVIRONMENT
 .Bl -tag -width "HOSTALIASESXXXX" -compact
@@ -486,6 +479,13 @@
 .It Pa /etc/resolv.conf
 initial domain name and name server addresses
 .El
+.Sh EXIT STATUS
+.Nm
+returns with an exit status of
+.Dv 1
+if any query failed, and
+.Dv 0
+otherwise.
 .Sh DIAGNOSTICS
 If the lookup request was not successful, an error message is printed.
 Possible errors are:
@@ -545,4 +545,4 @@
 .%D Nov 1, 1987
 .Re
 .Sh AUTHORS
-Andrew Cherenson
+.An Andrew Cherenson



Home | Main Index | Thread Index | Old Index