Skip to contentSkip to conversation

ffix: add space between function and () if BR or IR

PATCH In review Simon Paillard 2 participants 2 messages Feb 8, 2014 – Feb 10, 2014 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ffix: add space between function and () if BR or IR

Detected through the regex:

	git grep -P '^\.(BR|IR) [\w]*\([\d]*\)$'
---
 man3/getgrent.3 | 6 +++---
 man3/getpwent.3 | 6 +++---
 man7/socket.7   | 4 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)
man3/getgrent.3 +3 -3
index d666bd3..b357cda 100644
@@ -155,13 +155,13 @@ local group database file
 .SH ATTRIBUTES
 .SS Multithreading (see pthreads(7))
 The
-.BR getgrent()
+.BR getgrent ()
 function is not thread-safe.
 .LP
 The
-.BR setgrent()
+.BR setgrent ()
 and
-.BR endgrent()
+.BR endgrent ()
 functions are thread-safe.
 .SH CONFORMING TO
 SVr4, 4.3BSD, POSIX.1-2001.
man3/getpwent.3 +3 -3
index de31c60..fb78171 100644
@@ -154,13 +154,13 @@ local password database file
 .SH ATTRIBUTES
 .SS Multithreading (see pthreads(7))
 The
-.BR getpwent()
+.BR getpwent ()
 function is not thread-safe.
 .LP
 The
-.BR setpwent()
+.BR setpwent ()
 and
-.BR endpwent()
+.BR endpwent ()
 functions are thread-safe.
 .SH CONFORMING TO
 SVr4, 4.3BSD, POSIX.1-2001.
man7/socket.7 +2 -2
index 9421686..9e2c23d 100644
@@ -452,7 +452,7 @@ For more information see
 This option, which is currently supported only for
 .BR unix (7)
 sockets, sets the value of the "peek offset" for the
-.BR recv(2)
+.BR recv (2)
 system call when used with
 .BR MSG_PEEK
 flag.
@@ -460,7 +460,7 @@ flag.
 When this option is set to a negative value
 (it is set to \-1 for all new sockets),
 traditional behavior is provided:
-.BR recv(2)
+.BR recv (2)
 with the
 .BR MSG_PEEK
 flag will peek data from the front of the queue.
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): 1391861950-6509-1-git-send-email-spaillard-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org

#2 lore raw

Thanks, Simon. Applied.

I'll put together a script to make these and other checks.

Cheers,

Michael

Quoted 73 lines · Simon Paillard

Detected through the regex:

	git grep -P '^\.(BR|IR) [\w]*\([\d]*\)$'
---
 man3/getgrent.3 | 6 +++---
 man3/getpwent.3 | 6 +++---
 man7/socket.7   | 4 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)
man3/getgrent.3 +3 -3
index d666bd3..b357cda 100644
@@ -155,13 +155,13 @@ local group database file
 .SH ATTRIBUTES
 .SS Multithreading (see pthreads(7))
 The
-.BR getgrent()
+.BR getgrent ()
 function is not thread-safe.
 .LP
 The
-.BR setgrent()
+.BR setgrent ()
 and
-.BR endgrent()
+.BR endgrent ()
 functions are thread-safe.
 .SH CONFORMING TO
 SVr4, 4.3BSD, POSIX.1-2001.
man3/getpwent.3 +3 -3
index de31c60..fb78171 100644
@@ -154,13 +154,13 @@ local password database file
 .SH ATTRIBUTES
 .SS Multithreading (see pthreads(7))
 The
-.BR getpwent()
+.BR getpwent ()
 function is not thread-safe.
 .LP
 The
-.BR setpwent()
+.BR setpwent ()
 and
-.BR endpwent()
+.BR endpwent ()
 functions are thread-safe.
 .SH CONFORMING TO
 SVr4, 4.3BSD, POSIX.1-2001.
man7/socket.7 +2 -2
index 9421686..9e2c23d 100644
@@ -452,7 +452,7 @@ For more information see
 This option, which is currently supported only for
 .BR unix (7)
 sockets, sets the value of the "peek offset" for the
-.BR recv(2)
+.BR recv (2)
 system call when used with
 .BR MSG_PEEK
 flag.
@@ -460,7 +460,7 @@ flag.
 When this option is set to a negative value
 (it is set to \-1 for all new sockets),
 traditional behavior is provided:
-.BR recv(2)
+.BR recv (2)
 with the
 .BR MSG_PEEK
 flag will peek data from the front of the queue.
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