summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-12-15 14:31:21 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-12-15 14:31:21 +0000
commit0e856aa76e21bda83ba7ce860f2054e52afa2794 (patch)
treea731264ebaa1781b0ebea842b3a96787a90ab107
parent205e0a000b56bf187066e05e7b01634cbff95642 (diff)
.Sh EXAMPLE -> .Sh EXAMPLES. Even if there's only one example, at least
this is consistent.
-rw-r--r--lib/libc/compat-43/sigvec.34
-rw-r--r--lib/libc/gen/glob.34
-rw-r--r--lib/libc/stdlib/getsubopt.34
-rw-r--r--lib/libc/sys/sigaction.24
-rw-r--r--libexec/tcpd/tcpd/tcpd.84
-rw-r--r--sbin/isakmpd/isakmpd.conf.54
-rw-r--r--sbin/startkey/startkey.14
-rw-r--r--share/man/man3/bitstring.34
-rw-r--r--share/man/man4/gre.44
-rw-r--r--share/man/man4/man4.hp300/dv.45
-rw-r--r--share/man/man4/man4.hp300/gb.45
-rw-r--r--share/man/man4/man4.hp300/grf.45
-rw-r--r--share/man/man4/man4.hp300/rb.45
-rw-r--r--share/man/man4/man4.hp300/tc.45
-rw-r--r--share/man/man4/ss.44
-rw-r--r--share/man/man4/urio.44
-rw-r--r--share/man/man8/man8.vax/drtest.85
-rw-r--r--usr.sbin/rtadvd/rtadvd.conf.54
-rw-r--r--usr.sbin/sliplogin/sliplogin.86
19 files changed, 45 insertions, 39 deletions
diff --git a/lib/libc/compat-43/sigvec.3 b/lib/libc/compat-43/sigvec.3
index 450a1f9dfc1..c1cc86d9727 100644
--- a/lib/libc/compat-43/sigvec.3
+++ b/lib/libc/compat-43/sigvec.3
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: sigvec.3,v 1.17 2000/04/18 02:31:32 aaron Exp $
+.\" $OpenBSD: sigvec.3,v 1.18 2000/12/15 14:31:19 aaron Exp $
.\"
.Dd April 29, 1991
.Dt SIGVEC 3
@@ -308,7 +308,7 @@ An attempt is made to ignore or supply a handler for
or
.Dv SIGSTOP .
.El
-.Sh EXAMPLE
+.Sh EXAMPLES
For an example of signal handler declarations, see
.Xr sigaction 2 .
.Sh SEE ALSO
diff --git a/lib/libc/gen/glob.3 b/lib/libc/gen/glob.3
index e7a09744442..138e310f518 100644
--- a/lib/libc/gen/glob.3
+++ b/lib/libc/gen/glob.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: glob.3,v 1.14 2000/04/15 02:15:22 aaron Exp $
+.\" $OpenBSD: glob.3,v 1.15 2000/12/15 14:31:19 aaron Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -393,7 +393,7 @@ The arguments
and
.Fa pglob\->gl_pathv
are still set as specified above.
-.Sh EXAMPLE
+.Sh EXAMPLES
A rough equivalent of
.Ql "ls -l *.c *.h"
can be obtained with the
diff --git a/lib/libc/stdlib/getsubopt.3 b/lib/libc/stdlib/getsubopt.3
index a5f98e5d96b..8a17da4ea5a 100644
--- a/lib/libc/stdlib/getsubopt.3
+++ b/lib/libc/stdlib/getsubopt.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getsubopt.3,v 1.4 2000/04/20 13:50:02 aaron Exp $
+.\" $OpenBSD: getsubopt.3,v 1.5 2000/12/15 14:31:17 aaron Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -93,7 +93,7 @@ The argument
will be set to point to the value portion of the token, or
.Dv NULL
if no value portion was present.
-.Sh EXAMPLE
+.Sh EXAMPLES
.Bd -literal -compact
char *tokens[] = {
#define ONE 0
diff --git a/lib/libc/sys/sigaction.2 b/lib/libc/sys/sigaction.2
index b55a4c4dd87..fe54cb11de3 100644
--- a/lib/libc/sys/sigaction.2
+++ b/lib/libc/sys/sigaction.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sigaction.2,v 1.24 2000/10/18 05:12:12 aaron Exp $
+.\" $OpenBSD: sigaction.2,v 1.25 2000/12/15 14:31:19 aaron Exp $
.\" $NetBSD: sigaction.2,v 1.7 1995/10/12 15:41:16 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -463,7 +463,7 @@ A 0 value indicates that the call succeeded.
A \-1 return value indicates an error occurred and
.Va errno
is set to indicate the reason.
-.Sh EXAMPLE
+.Sh EXAMPLES
The handler routine can be declared:
.Bd -literal -offset indent
void
diff --git a/libexec/tcpd/tcpd/tcpd.8 b/libexec/tcpd/tcpd/tcpd.8
index ba76e75328f..8031068b543 100644
--- a/libexec/tcpd/tcpd/tcpd.8
+++ b/libexec/tcpd/tcpd/tcpd.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tcpd.8,v 1.8 2000/10/30 17:46:24 aaron Exp $
+.\" $OpenBSD: tcpd.8,v 1.9 2000/12/15 14:31:19 aaron Exp $
.\"
.\" Copyright (c) 1997, Jason Downs. All rights reserved.
.\"
@@ -162,7 +162,7 @@ from PCs.
.\" systems, network daemons live in /usr/sbin or in /usr/libexec, or have
.\" no `in.\' prefix to their name.
.\" .Sh EXAMPLE 2
-.Sh EXAMPLE
+.Sh EXAMPLES
This example applies when
.Nm
expects that the network daemons
diff --git a/sbin/isakmpd/isakmpd.conf.5 b/sbin/isakmpd/isakmpd.conf.5
index 81269ef34f0..6a164ac45c1 100644
--- a/sbin/isakmpd/isakmpd.conf.5
+++ b/sbin/isakmpd/isakmpd.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isakmpd.conf.5,v 1.45 2000/12/12 01:46:05 niklas Exp $
+.\" $OpenBSD: isakmpd.conf.5,v 1.46 2000/12/15 14:31:18 aaron Exp $
.\" $EOM: isakmpd.conf.5,v 1.55 2000/12/04 02:04:29 angelos Exp $
.\"
.\" Copyright (c) 1998, 1999, 2000 Niklas Hallqvist. All rights reserved.
@@ -556,7 +556,7 @@ will be transmitted (or permitted) over the SA.
The Protocol tag must be specified in conjunction with this tag.
.El
.El
-.Sh EXAMPLE
+.Sh EXAMPLES
An example of a configuration file:
.Pp
.Bd -literal
diff --git a/sbin/startkey/startkey.1 b/sbin/startkey/startkey.1
index 39405261b3d..a06e7d56ed0 100644
--- a/sbin/startkey/startkey.1
+++ b/sbin/startkey/startkey.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: startkey.1,v 1.7 2000/03/18 22:56:05 aaron Exp $
+.\" $OpenBSD: startkey.1,v 1.8 2000/12/15 14:31:18 aaron Exp $
.\"
.\" Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
.\" All rights reserved.
@@ -127,7 +127,7 @@ Determines the lifetime of each created SPI in the exchange.
The user name for whom the keying shall be done.
Preconfigured secrets are taken from the users secret file.
.El
-.Sh EXAMPLE
+.Sh EXAMPLES
startkey dst=169.200.12.23 options=auth
.Sh FILES
.Bl -tag -width /etc/photuris/photuris.pipe -compact
diff --git a/share/man/man3/bitstring.3 b/share/man/man3/bitstring.3
index b07aa96c5a2..e6bbc9c6fd3 100644
--- a/share/man/man3/bitstring.3
+++ b/share/man/man3/bitstring.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bitstring.3,v 1.8 2000/10/26 00:37:03 aaron Exp $
+.\" $OpenBSD: bitstring.3,v 1.9 2000/12/15 14:31:19 aaron Exp $
.\" $NetBSD: bitstring.3,v 1.4 1994/11/30 15:24:31 jtc Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
@@ -146,7 +146,7 @@ is set to \-1.
.Pp
The arguments to these macros are evaluated only once and may safely
have side effects.
-.Sh EXAMPLE
+.Sh EXAMPLES
.Bd -literal -offset indent
#include <limits.h>
#include <bitstring.h>
diff --git a/share/man/man4/gre.4 b/share/man/man4/gre.4
index 6d2b64df64b..cc0ca56a59d 100644
--- a/share/man/man4/gre.4
+++ b/share/man/man4/gre.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: gre.4,v 1.6 2000/11/10 20:02:16 todd Exp $
+.\" $OpenBSD: gre.4,v 1.7 2000/12/15 14:31:20 aaron Exp $
.\" $NetBSD: gre.4,v 1.10 1999/12/22 14:55:49 kleink Exp $
.\"
.\" Copyright 1998 (c) The NetBSD Foundation, Inc.
@@ -128,7 +128,7 @@ ones defined with
for the interface (as if IP is encapsulated), but need not be, as e.g. when
encapsulating AppleTalk.
.Pp
-.Sh EXAMPLE
+.Sh EXAMPLES
Configuration example:
.Bd -literal
diff --git a/share/man/man4/man4.hp300/dv.4 b/share/man/man4/man4.hp300/dv.4
index 4d15dbffd88..08fa220cdfc 100644
--- a/share/man/man4/man4.hp300/dv.4
+++ b/share/man/man4/man4.hp300/dv.4
@@ -1,4 +1,5 @@
-.\" $OpenBSD: dv.4,v 1.2 2000/03/02 14:46:46 todd Exp $
+.\" $OpenBSD: dv.4,v 1.3 2000/12/15 14:31:20 aaron Exp $
+.\"
.\" Copyright (c) 1990, 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -108,7 +109,7 @@ mapped, the frame buffer structure is accessible. The structure describing
the 98730 is defined in
.Aq Pa hpdev/grf_dvreg.h .
.El
-.Sh EXAMPLE
+.Sh EXAMPLES
This is a short segment of code showing how the device is opened and mapped
into user process address space assuming that it is
.Ql grf0 :
diff --git a/share/man/man4/man4.hp300/gb.4 b/share/man/man4/man4.hp300/gb.4
index 0be15d0c719..bf73bfc18de 100644
--- a/share/man/man4/man4.hp300/gb.4
+++ b/share/man/man4/man4.hp300/gb.4
@@ -1,4 +1,5 @@
-.\" $OpenBSD: gb.4,v 1.2 2000/03/02 14:46:46 todd Exp $
+.\" $OpenBSD: gb.4,v 1.3 2000/12/15 14:31:20 aaron Exp $
+.\"
.\" Copyright (c) 1990, 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -123,7 +124,7 @@ Unmap control registers and framebuffer space.
.Pp
For further information about the use of ioctl see the man page.
.El
-.Sh EXAMPLE
+.Sh EXAMPLES
A small example of opening, mapping and using the device is given below.
For more examples of the details on the behavior of the device, see the device
dependent source files for the X Window System, in the
diff --git a/share/man/man4/man4.hp300/grf.4 b/share/man/man4/man4.hp300/grf.4
index 6dfb32277ec..4f362c4b3c5 100644
--- a/share/man/man4/man4.hp300/grf.4
+++ b/share/man/man4/man4.hp300/grf.4
@@ -1,4 +1,5 @@
-.\" $OpenBSD: grf.4,v 1.3 2000/03/02 14:46:46 todd Exp $
+.\" $OpenBSD: grf.4,v 1.4 2000/12/15 14:31:20 aaron Exp $
+.\"
.\" Copyright (c) 1990, 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -150,7 +151,7 @@ Unmap control registers and framebuffer space.
.El
.Pp
For further information about the use of ioctl see the man page.
-.Sh EXAMPLE
+.Sh EXAMPLES
This short code fragment is an example of opening some graphics device and
mapping in the control and frame buffer space:
.Bd -literal
diff --git a/share/man/man4/man4.hp300/rb.4 b/share/man/man4/man4.hp300/rb.4
index ac695634e4c..acbbd0775a3 100644
--- a/share/man/man4/man4.hp300/rb.4
+++ b/share/man/man4/man4.hp300/rb.4
@@ -1,4 +1,5 @@
-.\" $OpenBSD: rb.4,v 1.2 2000/03/02 14:46:46 todd Exp $
+.\" $OpenBSD: rb.4,v 1.3 2000/12/15 14:31:20 aaron Exp $
+.\"
.\" Copyright (c) 1990, 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -108,7 +109,7 @@ mapped, the frame buffer structure is accessible. The structure describing
the 98720 is defined in
.Pa hpdev/grf_rbreg.h .
.El
-.Sh EXAMPLE
+.Sh EXAMPLES
This is a short segment of code showing how the device is opened and mapped
into user process address space assuming that it is grf0:
.Bd -literal
diff --git a/share/man/man4/man4.hp300/tc.4 b/share/man/man4/man4.hp300/tc.4
index 969968154f7..bc30a60a2b9 100644
--- a/share/man/man4/man4.hp300/tc.4
+++ b/share/man/man4/man4.hp300/tc.4
@@ -1,4 +1,5 @@
-.\" $OpenBSD: tc.4,v 1.3 2000/03/02 14:46:46 todd Exp $
+.\" $OpenBSD: tc.4,v 1.4 2000/12/15 14:31:20 aaron Exp $
+.\"
.\" Copyright (c) 1990, 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -114,7 +115,7 @@ describing Topcat/Catseye devices is defined in
For further information about the use of
.Xr ioctl
see the man page.
-.Sh EXAMPLE
+.Sh EXAMPLES
A small example of opening, mapping and using the device is given below.
For more examples of the details on the behavior of the device, see the device
dependent source files for the X Window System, in the
diff --git a/share/man/man4/ss.4 b/share/man/man4/ss.4
index 455ad0c6b71..fbb3197c3c5 100644
--- a/share/man/man4/ss.4
+++ b/share/man/man4/ss.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ss.4,v 1.6 2000/04/17 02:32:45 aaron Exp $
+.\" $OpenBSD: ss.4,v 1.7 2000/12/15 14:31:20 aaron Exp $
.\"
.\" Copyright (c) 1998 Kenneth Stailey and Ian Darwin
.\"
@@ -78,7 +78,7 @@ The
.Nm SCIOC_USE_ADF
ioctl also ignores its third parameter, and tells the scanner
to use its automatic document feeder if it has one.
-.Sh EXAMPLE
+.Sh EXAMPLES
The normal use of this device in a scanner program would be something
like this:
.nf
diff --git a/share/man/man4/urio.4 b/share/man/man4/urio.4
index b11e6e283f5..e9b3c012556 100644
--- a/share/man/man4/urio.4
+++ b/share/man/man4/urio.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: urio.4,v 1.7 2000/10/26 01:36:33 aaron Exp $
+.\" $OpenBSD: urio.4,v 1.8 2000/12/15 14:31:20 aaron Exp $
.\" $NetBSD: urio.4,v 1.1 2000/04/14 14:48:29 augustss Exp $
.\"
.\" Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -57,7 +57,7 @@ a user application for up and downloading music.
.It Pa /dev/urio0
device node
.El
-.Sh EXAMPLE
+.Sh EXAMPLES
Using the Rio500 package the command
.Pp
.Dl rio_add_song Rammstein-Wollt_Ihr_Das_Bett_In_Flammen_Sehen.mp3
diff --git a/share/man/man8/man8.vax/drtest.8 b/share/man/man8/man8.vax/drtest.8
index f30e05f602a..afe73ef5a2c 100644
--- a/share/man/man8/man8.vax/drtest.8
+++ b/share/man/man8/man8.vax/drtest.8
@@ -1,4 +1,5 @@
-.\" $OpenBSD: drtest.8,v 1.6 2000/11/10 20:02:20 todd Exp $
+.\" $OpenBSD: drtest.8,v 1.7 2000/12/15 14:31:20 aaron Exp $
+.\"
.\" Copyright (c) 1983, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
@@ -61,7 +62,7 @@ While
.Nm drtest
is running, the cylinder number is printed on
the console for every 10th cylinder read.
-.Sh EXAMPLE
+.Sh EXAMPLES
A sample run of
.Xr drtest
is shown below.
diff --git a/usr.sbin/rtadvd/rtadvd.conf.5 b/usr.sbin/rtadvd/rtadvd.conf.5
index 5e8721fbf3a..9db54596a8f 100644
--- a/usr.sbin/rtadvd/rtadvd.conf.5
+++ b/usr.sbin/rtadvd/rtadvd.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rtadvd.conf.5,v 1.10 2000/07/06 12:11:06 itojun Exp $
+.\" $OpenBSD: rtadvd.conf.5,v 1.11 2000/12/15 14:31:18 aaron Exp $
.\" $KAME: rtadvd.conf.5,v 1.6 2000/05/26 10:54:58 jinmei Exp $
.\"
.\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -212,7 +212,7 @@ capability.
See
.Xr termcap 5
for details on the capability.
-.Sh EXAMPLE
+.Sh EXAMPLES
.Bd -literal -offset
#
# common definitions.
diff --git a/usr.sbin/sliplogin/sliplogin.8 b/usr.sbin/sliplogin/sliplogin.8
index f3d2ec6d355..64f2d7025c3 100644
--- a/usr.sbin/sliplogin/sliplogin.8
+++ b/usr.sbin/sliplogin/sliplogin.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sliplogin.8,v 1.5 2000/03/19 17:57:15 aaron Exp $
+.\" $OpenBSD: sliplogin.8,v 1.6 2000/12/15 14:31:18 aaron Exp $
.\"
.\" Copyright (c) 1990, 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -32,7 +32,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)sliplogin.8 5.4 (Berkeley) 8/5/91
-.\" $Id: sliplogin.8,v 1.5 2000/03/19 17:57:15 aaron Exp $
+.\" $Id: sliplogin.8,v 1.6 2000/12/15 14:31:18 aaron Exp $
.\"
.Dd August 5, 1991
.Dt SLIPLOGIN 8
@@ -129,7 +129,7 @@ These arguments are passed directly to
.Xr ifconfig 8 .
.Em Opt-args
are optional arguments used to configure the line.
-.Sh EXAMPLE
+.Sh EXAMPLES
The normal use of
.Nm
is to create a