* [PATCH] Various pages: tfix: Use Oxford comma
@ 2021-01-07 18:38 Alejandro Colomar
2021-01-08 8:58 ` Michael Kerrisk (man-pages)
0 siblings, 1 reply; 2+ messages in thread
From: Alejandro Colomar @ 2021-01-07 18:38 UTC (permalink / raw)
To: mtk.manpages; +Cc: Alejandro Colomar, linux-man
Found using:
$ pcregrep -rnM "^\.[B|I]R .*,\n\.[B|I].*[^,]\nor" man? \
|grep ^man \
|sort;
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---
man2/mmap.2 | 2 +-
man3/aio_return.3 | 2 +-
man3/dbopen.3 | 2 +-
man3/drand48.3 | 2 +-
man3/posix_spawn.3 | 4 ++--
man3/xdr.3 | 2 +-
man4/sk98lin.4 | 4 ++--
man7/symlink.7 | 2 +-
8 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/man2/mmap.2 b/man2/mmap.2
index b44a8f1b7..a4aa205ed 100644
--- a/man2/mmap.2
+++ b/man2/mmap.2
@@ -563,7 +563,7 @@ was 0.
.I flags
contained none of
.BR MAP_PRIVATE ,
-.B MAP_SHARED
+.BR MAP_SHARED ,
or
.BR MAP_SHARED_VALIDATE .
.TP
diff --git a/man3/aio_return.3 b/man3/aio_return.3
index 062dce2cf..4ea2c0e10 100644
--- a/man3/aio_return.3
+++ b/man3/aio_return.3
@@ -53,7 +53,7 @@ If the asynchronous I/O operation has completed, this function returns
the value that would have been returned in case of a synchronous
.BR read (2),
.BR write (2),
-.BR fsync (2)
+.BR fsync (2),
or
.BR fdatasync (2),
call.
diff --git a/man3/dbopen.3 b/man3/dbopen.3
index d76ee3e6a..2ea5ad3cf 100644
--- a/man3/dbopen.3
+++ b/man3/dbopen.3
@@ -522,7 +522,7 @@ routines may fail and set
for any of the errors specified for the library routines
.BR read (2),
.BR write (2),
-.BR free (3)
+.BR free (3),
or
.BR malloc (3).
.PP
diff --git a/man3/drand48.3 b/man3/drand48.3
index 36309550e..26c5bd09d 100644
--- a/man3/drand48.3
+++ b/man3/drand48.3
@@ -147,7 +147,7 @@ The value returned by any of the functions
.BR erand48 (),
.BR lrand48 (),
.BR nrand48 (),
-.BR mrand48 ()
+.BR mrand48 (),
or
.BR jrand48 ()
is
diff --git a/man3/posix_spawn.3 b/man3/posix_spawn.3
index cbf6802b1..a56aa3e86 100644
--- a/man3/posix_spawn.3
+++ b/man3/posix_spawn.3
@@ -513,13 +513,13 @@ and
.BR posix_spawnp ()
functions fail only in the case where the underlying
.BR fork (2),
-.BR vfork (2)
+.BR vfork (2),
or
.BR clone (2)
call fails; in these cases, these functions return an error number,
which will be one of the errors described for
.BR fork (2),
-.BR vfork (2)
+.BR vfork (2),
or
.BR clone (2).
.PP
diff --git a/man3/xdr.3 b/man3/xdr.3
index a225acfe1..a0b686d33 100644
--- a/man3/xdr.3
+++ b/man3/xdr.3
@@ -99,7 +99,7 @@ Note: encoded characters are not packed, and occupy 4 bytes each.
For arrays of characters, it is worthwhile to
consider
.BR xdr_bytes (),
-.BR xdr_opaque ()
+.BR xdr_opaque (),
or
.BR xdr_string ().
.PP
diff --git a/man4/sk98lin.4 b/man4/sk98lin.4
index 1301300b2..7fb91a5b4 100644
--- a/man4/sk98lin.4
+++ b/man4/sk98lin.4
@@ -248,7 +248,7 @@ If AutoNeg_A is set to
.IR On ,
all three values of DupCap_A (
.IR Half ,
-.I Full
+.IR Full ,
or
.IR Both )
might be stated.
@@ -278,7 +278,7 @@ If AutoNeg_B is set to
.IR On ,
all three values of DupCap_B (
.IR Half ,
-.I Full
+.IR Full ,
or
.IR Both )
might be stated.
diff --git a/man7/symlink.7 b/man7/symlink.7
index a2a34204b..8b691aa1a 100644
--- a/man7/symlink.7
+++ b/man7/symlink.7
@@ -548,7 +548,7 @@ the
command acts a little differently.
If you do not specify the
.IR \-F ,
-.IR \-d
+.IR \-d ,
or
.I \-l
options,
--
2.29.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Various pages: tfix: Use Oxford comma
2021-01-07 18:38 [PATCH] Various pages: tfix: Use Oxford comma Alejandro Colomar
@ 2021-01-08 8:58 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2021-01-08 8:58 UTC (permalink / raw)
To: Alejandro Colomar; +Cc: mtk.manpages, linux-man
Hi ALex,
On 1/7/21 7:38 PM, Alejandro Colomar wrote:
> Found using:
> $ pcregrep -rnM "^\.[B|I]R .*,\n\.[B|I].*[^,]\nor" man? \
Chévere!
> |grep ^man \
> |sort;
>
> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Thanks! Patch applied.
Cheers,
Michael
> ---
> man2/mmap.2 | 2 +-
> man3/aio_return.3 | 2 +-
> man3/dbopen.3 | 2 +-
> man3/drand48.3 | 2 +-
> man3/posix_spawn.3 | 4 ++--
> man3/xdr.3 | 2 +-
> man4/sk98lin.4 | 4 ++--
> man7/symlink.7 | 2 +-
> 8 files changed, 10 insertions(+), 10 deletions(-)
>
> diff --git a/man2/mmap.2 b/man2/mmap.2
> index b44a8f1b7..a4aa205ed 100644
> --- a/man2/mmap.2
> +++ b/man2/mmap.2
> @@ -563,7 +563,7 @@ was 0.
> .I flags
> contained none of
> .BR MAP_PRIVATE ,
> -.B MAP_SHARED
> +.BR MAP_SHARED ,
> or
> .BR MAP_SHARED_VALIDATE .
> .TP
> diff --git a/man3/aio_return.3 b/man3/aio_return.3
> index 062dce2cf..4ea2c0e10 100644
> --- a/man3/aio_return.3
> +++ b/man3/aio_return.3
> @@ -53,7 +53,7 @@ If the asynchronous I/O operation has completed, this function returns
> the value that would have been returned in case of a synchronous
> .BR read (2),
> .BR write (2),
> -.BR fsync (2)
> +.BR fsync (2),
> or
> .BR fdatasync (2),
> call.
> diff --git a/man3/dbopen.3 b/man3/dbopen.3
> index d76ee3e6a..2ea5ad3cf 100644
> --- a/man3/dbopen.3
> +++ b/man3/dbopen.3
> @@ -522,7 +522,7 @@ routines may fail and set
> for any of the errors specified for the library routines
> .BR read (2),
> .BR write (2),
> -.BR free (3)
> +.BR free (3),
> or
> .BR malloc (3).
> .PP
> diff --git a/man3/drand48.3 b/man3/drand48.3
> index 36309550e..26c5bd09d 100644
> --- a/man3/drand48.3
> +++ b/man3/drand48.3
> @@ -147,7 +147,7 @@ The value returned by any of the functions
> .BR erand48 (),
> .BR lrand48 (),
> .BR nrand48 (),
> -.BR mrand48 ()
> +.BR mrand48 (),
> or
> .BR jrand48 ()
> is
> diff --git a/man3/posix_spawn.3 b/man3/posix_spawn.3
> index cbf6802b1..a56aa3e86 100644
> --- a/man3/posix_spawn.3
> +++ b/man3/posix_spawn.3
> @@ -513,13 +513,13 @@ and
> .BR posix_spawnp ()
> functions fail only in the case where the underlying
> .BR fork (2),
> -.BR vfork (2)
> +.BR vfork (2),
> or
> .BR clone (2)
> call fails; in these cases, these functions return an error number,
> which will be one of the errors described for
> .BR fork (2),
> -.BR vfork (2)
> +.BR vfork (2),
> or
> .BR clone (2).
> .PP
> diff --git a/man3/xdr.3 b/man3/xdr.3
> index a225acfe1..a0b686d33 100644
> --- a/man3/xdr.3
> +++ b/man3/xdr.3
> @@ -99,7 +99,7 @@ Note: encoded characters are not packed, and occupy 4 bytes each.
> For arrays of characters, it is worthwhile to
> consider
> .BR xdr_bytes (),
> -.BR xdr_opaque ()
> +.BR xdr_opaque (),
> or
> .BR xdr_string ().
> .PP
> diff --git a/man4/sk98lin.4 b/man4/sk98lin.4
> index 1301300b2..7fb91a5b4 100644
> --- a/man4/sk98lin.4
> +++ b/man4/sk98lin.4
> @@ -248,7 +248,7 @@ If AutoNeg_A is set to
> .IR On ,
> all three values of DupCap_A (
> .IR Half ,
> -.I Full
> +.IR Full ,
> or
> .IR Both )
> might be stated.
> @@ -278,7 +278,7 @@ If AutoNeg_B is set to
> .IR On ,
> all three values of DupCap_B (
> .IR Half ,
> -.I Full
> +.IR Full ,
> or
> .IR Both )
> might be stated.
> diff --git a/man7/symlink.7 b/man7/symlink.7
> index a2a34204b..8b691aa1a 100644
> --- a/man7/symlink.7
> +++ b/man7/symlink.7
> @@ -548,7 +548,7 @@ the
> command acts a little differently.
> If you do not specify the
> .IR \-F ,
> -.IR \-d
> +.IR \-d ,
> or
> .I \-l
> options,
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-08 8:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-07 18:38 [PATCH] Various pages: tfix: Use Oxford comma Alejandro Colomar
2021-01-08 8:58 ` Michael Kerrisk (man-pages)
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.