ffix: add space between word and punctuation if BR or IR
PATCH 1/1 ffix: add space between word and punctuation if BR or IR
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(-)
man2/prctl.2 +2 -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
man2/quotactl.2 +1 -1
@@ -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
man3/string.3 +1 -1
@@ -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
man4/hpsa.4 +1 -1
@@ -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* ,
man5/gai.conf.5 +1 -1
@@ -91,5 +91,5 @@ precedence ::ffff:0:0/96 10 .\" Ulrich Drepper <[email protected]> .\" .SH SEE ALSO -.BR getaddrinfo(3), +.BR getaddrinfo(3) , RFC\ 3484
Signature · 6 lines
1.8.5.3 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 1391861517-4619-1-git-send-email-spaillard-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org
Thanks, Simon. Applied.
Cheers,
Michael
Quoted 85 lines · 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(-)man2/prctl.2 +2
-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 arg2man2/quotactl.2 +1
-1@@ -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 andman3/string.3 +1
-1@@ -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 mostman4/hpsa.4 +1
-1@@ -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* ,man5/gai.conf.5 +1
-1@@ -91,5 +91,5 @@ precedence ::ffff:0:0/96 10 .\" Ulrich Drepper <[email protected]> .\" .SH SEE ALSO -.BR getaddrinfo(3), +.BR getaddrinfo(3) , RFC\ 3484
Signature · 7 lines
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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html