Re: [PATCH] ffix: add space between function and () if BR or IR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks, Simon. Applied.

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

Cheers,

Michael



On 02/08/2014 01:19 PM, Simon Paillard wrote:
> 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(-)
> 
> diff --git a/man3/getgrent.3 b/man3/getgrent.3
> index d666bd3..b357cda 100644
> --- a/man3/getgrent.3
> +++ b/man3/getgrent.3
> @@ -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.
> diff --git a/man3/getpwent.3 b/man3/getpwent.3
> index de31c60..fb78171 100644
> --- a/man3/getpwent.3
> +++ b/man3/getpwent.3
> @@ -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.
> diff --git a/man7/socket.7 b/man7/socket.7
> index 9421686..9e2c23d 100644
> --- a/man7/socket.7
> +++ b/man7/socket.7
> @@ -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.
> 


-- 
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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux