linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ffix: add space between word and punctuation if BR or IR
@ 2014-02-08 12:11 Simon Paillard
       [not found] ` <1391861517-4619-1-git-send-email-spaillard-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Simon Paillard @ 2014-02-08 12:11 UTC (permalink / raw)
  To: linux-man-u79uwXL29TY76Z2rM5mHXA; +Cc: Simon Paillard

Detected through the regex:
	git grep -P '^\.(BR|IR) [^ ]*[,\.]$'

Could probably be extended to match more cases and fix in perl.
---
 man2/prctl.2    | 4 ++--
 man2/quotactl.2 | 2 +-
 man3/string.3   | 2 +-
 man4/hpsa.4     | 2 +-
 man5/gai.conf.5 | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/man2/prctl.2 b/man2/prctl.2
index 314dc5f..b881dde 100644
--- a/man2/prctl.2
+++ b/man2/prctl.2
@@ -332,7 +332,7 @@ set to 0 clears the caller's "ptracer process ID".
 If
 .I arg2
 is
-.BR PR_SET_PTRACER_ANY,
+.BR PR_SET_PTRACER_ANY ,
 the ptrace restrictions introduced by Yama are effectively disabled for the
 calling process.
 
@@ -851,7 +851,7 @@ is
 .BR PR_SET_MM_START_DATA ,
 .BR PR_SET_MM_END_DATA ,
 or
-.BR PR_SET_MM_START_STACK,
+.BR PR_SET_MM_START_STACK ,
 and the permissions of the corresponding memory area are not as required;
 .IP *
 .I arg2
diff --git a/man2/quotactl.2 b/man2/quotactl.2
index 7422076..a8386a9 100644
--- a/man2/quotactl.2
+++ b/man2/quotactl.2
@@ -325,7 +325,7 @@ argument should be a pointer to a
 .I dqstats
 structure in which data should be stored.
 This structure is defined in
-.IR <sys/quota.h>.
+.IR <sys/quota.h> .
 The
 .I special
 and
diff --git a/man3/string.3 b/man3/string.3
index 4f76405..0f33e2c 100644
--- a/man3/string.3
+++ b/man3/string.3
@@ -146,7 +146,7 @@ Compare at most
 bytes of the strings
 .I s1
 and
-.IR s2.
+.IR s2 .
 .TP
 .BI "char *strncpy(char *" dest ", const char *" src ", size_t " n );
 Copy at most
diff --git a/man4/hpsa.4 b/man4/hpsa.4
index 9b67270..6ca1537 100644
--- a/man4/hpsa.4
+++ b/man4/hpsa.4
@@ -70,7 +70,7 @@ and
 the RAID controller via the SCSI generic driver
 .RB ( sg (4)),
 with device nodes named
-.IR /dev/sd*,
+.IR /dev/sd* ,
 .IR /dev/st* ,
 and
 .IR /dev/sg* ,
diff --git a/man5/gai.conf.5 b/man5/gai.conf.5
index be1fc25..050f6e2 100644
--- a/man5/gai.conf.5
+++ b/man5/gai.conf.5
@@ -91,5 +91,5 @@ precedence ::ffff:0:0/96  10
 .\" Ulrich Drepper <drepper-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
 .\"
 .SH SEE ALSO
-.BR getaddrinfo(3),
+.BR getaddrinfo(3) ,
 RFC\ 3484
-- 
1.8.5.3

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ffix: add space between word and punctuation if BR or IR
       [not found] ` <1391861517-4619-1-git-send-email-spaillard-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
@ 2014-02-10 10:04   ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-02-10 10:04 UTC (permalink / raw)
  To: Simon Paillard, linux-man-u79uwXL29TY76Z2rM5mHXA
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w

Thanks, Simon. Applied.

Cheers,

Michael


On 02/08/2014 01:11 PM, Simon Paillard wrote:
> Detected through the regex:
> 	git grep -P '^\.(BR|IR) [^ ]*[,\.]$'
> 
> Could probably be extended to match more cases and fix in perl.
> ---
>  man2/prctl.2    | 4 ++--
>  man2/quotactl.2 | 2 +-
>  man3/string.3   | 2 +-
>  man4/hpsa.4     | 2 +-
>  man5/gai.conf.5 | 2 +-
>  5 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/man2/prctl.2 b/man2/prctl.2
> index 314dc5f..b881dde 100644
> --- a/man2/prctl.2
> +++ b/man2/prctl.2
> @@ -332,7 +332,7 @@ set to 0 clears the caller's "ptracer process ID".
>  If
>  .I arg2
>  is
> -.BR PR_SET_PTRACER_ANY,
> +.BR PR_SET_PTRACER_ANY ,
>  the ptrace restrictions introduced by Yama are effectively disabled for the
>  calling process.
>  
> @@ -851,7 +851,7 @@ is
>  .BR PR_SET_MM_START_DATA ,
>  .BR PR_SET_MM_END_DATA ,
>  or
> -.BR PR_SET_MM_START_STACK,
> +.BR PR_SET_MM_START_STACK ,
>  and the permissions of the corresponding memory area are not as required;
>  .IP *
>  .I arg2
> diff --git a/man2/quotactl.2 b/man2/quotactl.2
> index 7422076..a8386a9 100644
> --- a/man2/quotactl.2
> +++ b/man2/quotactl.2
> @@ -325,7 +325,7 @@ argument should be a pointer to a
>  .I dqstats
>  structure in which data should be stored.
>  This structure is defined in
> -.IR <sys/quota.h>.
> +.IR <sys/quota.h> .
>  The
>  .I special
>  and
> diff --git a/man3/string.3 b/man3/string.3
> index 4f76405..0f33e2c 100644
> --- a/man3/string.3
> +++ b/man3/string.3
> @@ -146,7 +146,7 @@ Compare at most
>  bytes of the strings
>  .I s1
>  and
> -.IR s2.
> +.IR s2 .
>  .TP
>  .BI "char *strncpy(char *" dest ", const char *" src ", size_t " n );
>  Copy at most
> diff --git a/man4/hpsa.4 b/man4/hpsa.4
> index 9b67270..6ca1537 100644
> --- a/man4/hpsa.4
> +++ b/man4/hpsa.4
> @@ -70,7 +70,7 @@ and
>  the RAID controller via the SCSI generic driver
>  .RB ( sg (4)),
>  with device nodes named
> -.IR /dev/sd*,
> +.IR /dev/sd* ,
>  .IR /dev/st* ,
>  and
>  .IR /dev/sg* ,
> diff --git a/man5/gai.conf.5 b/man5/gai.conf.5
> index be1fc25..050f6e2 100644
> --- a/man5/gai.conf.5
> +++ b/man5/gai.conf.5
> @@ -91,5 +91,5 @@ precedence ::ffff:0:0/96  10
>  .\" Ulrich Drepper <drepper-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
>  .\"
>  .SH SEE ALSO
> -.BR getaddrinfo(3),
> +.BR getaddrinfo(3) ,
>  RFC\ 3484
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-10 10:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-08 12:11 [PATCH] ffix: add space between word and punctuation if BR or IR Simon Paillard
     [not found] ` <1391861517-4619-1-git-send-email-spaillard-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
2014-02-10 10:04   ` Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).