linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] man3/*: srcfix: trim a trailing space
@ 2020-06-12 19:57 Bjarni Ingi Gislason
  2020-06-12 19:59 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 2+ messages in thread
From: Bjarni Ingi Gislason @ 2020-06-12 19:57 UTC (permalink / raw)
  To: mtk.manpages; +Cc: linux-man

Output is from: test-groff -b -e -mandoc -T utf8 -rF0 -t -w w -z

  [ "test-groff" is a developmental version of "groff" ]

  There is no change in the output of "nroff" and "groff".

####

troff: <fts.3>:50: warning: trailing space
####

troff: <getgrnam.3>:175: warning: trailing space
####

troff: <getpwnam.3>:181: warning: trailing space
####

troff: <rcmd.3>:52: warning: trailing space
troff: <rcmd.3>:57: warning: trailing space
troff: <rcmd.3>:60: warning: trailing space
troff: <rcmd.3>:63: warning: trailing space
troff: <rcmd.3>:69: warning: trailing space
troff: <rcmd.3>:73: warning: trailing space
####

troff: <rexec.3>:48: warning: trailing space
troff: <rexec.3>:51: warning: trailing space
####

troff: <sem_open.3>:36: warning: trailing space

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
 man3/fts.3      |  2 +-
 man3/getgrnam.3 |  2 +-
 man3/getpwnam.3 |  2 +-
 man3/rcmd.3     | 12 ++++++------
 man3/rexec.3    |  4 ++--
 man3/sem_open.3 |  2 +-
 6 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/man3/fts.3 b/man3/fts.3
index 407d7e004..bbd5cad5e 100644
--- a/man3/fts.3
+++ b/man3/fts.3
@@ -47,7 +47,7 @@ traverse a file hierarchy
 .B #include <sys/stat.h>
 .B #include <fts.h>
 .PP
-.BI "FTS *fts_open(char * const *" path_argv ", int " options ", "
+.BI "FTS *fts_open(char * const *" path_argv ", int " options ,
 .BI "              int (*" compar ")(const FTSENT **, const FTSENT **));"
 .PP
 .BI "FTSENT *fts_read(FTS *" ftsp );
diff --git a/man3/getgrnam.3 b/man3/getgrnam.3
index 50497059d..737d0a33a 100644
--- a/man3/getgrnam.3
+++ b/man3/getgrnam.3
@@ -172,7 +172,7 @@ In case of error, an error number is returned, and NULL is stored in
 .IR *result .
 .SH ERRORS
 .TP
-.BR 0 " or " ENOENT " or " ESRCH " or " EBADF " or " EPERM " or ... "
+.BR 0 " or " ENOENT " or " ESRCH " or " EBADF " or " EPERM " or ..."
 The given
 .I name
 or
diff --git a/man3/getpwnam.3 b/man3/getpwnam.3
index eaac2836c..6c31b6647 100644
--- a/man3/getpwnam.3
+++ b/man3/getpwnam.3
@@ -178,7 +178,7 @@ In case of error, an error number is returned, and NULL is stored in
 .IR *result .
 .SH ERRORS
 .TP
-.BR 0 " or " ENOENT " or " ESRCH " or " EBADF " or " EPERM " or ... "
+.BR 0 " or " ENOENT " or " ESRCH " or " EBADF " or " EPERM " or ..."
 The given
 .I name
 or
diff --git a/man3/rcmd.3 b/man3/rcmd.3
index 4eb18a637..70f3f510b 100644
--- a/man3/rcmd.3
+++ b/man3/rcmd.3
@@ -49,28 +49,28 @@ stream to a remote command
 .nf
 .B #include <netdb.h> \ \ \fP/* Or <unistd.h> on some systems */
 .PP
-.BI "int rcmd(char **" ahost ", unsigned short " inport ", const char *" locuser ", "
+.BI "int rcmd(char **" ahost ", unsigned short " inport ", const char *" locuser ,
 .BI "         const char *" remuser ", const char *" cmd ", int *" fd2p );
 .PP
 .BI "int rresvport(int *" port );
 .PP
-.BI "int iruserok(uint32_t " raddr ", int " superuser ", "
+.BI "int iruserok(uint32_t " raddr ", int " superuser ,
 .BI "             const char *" ruser ", const char *" luser );
 .PP
-.BI "int ruserok(const char *" rhost ", int " superuser ", "
+.BI "int ruserok(const char *" rhost ", int " superuser ,
 .BI "            const char *" ruser ", const char *" luser );
 .PP
-.BI "int rcmd_af(char **" ahost ", unsigned short " inport ", const char *" locuser ", "
+.BI "int rcmd_af(char **" ahost ", unsigned short " inport ", const char *" locuser ,
 .BI "            const char *" remuser ", const char *" cmd ", int *" fd2p ,
 .BI "            sa_family_t " af );
 .PP
 .BI "int rresvport_af(int *" port ", sa_family_t " af );
 .PP
-.BI "int iruserok_af(const void *" raddr ", int " superuser ", "
+.BI "int iruserok_af(const void *" raddr ", int " superuser ,
 .BI "                const char *" ruser ", const char *" luser \
 ", sa_family_t " af );
 .PP
-.BI "int ruserok_af(const char *" rhost ", int " superuser ", "
+.BI "int ruserok_af(const char *" rhost ", int " superuser ,
 .BI "               const char *" ruser ", const char *" luser \
 ", sa_family_t " af );
 .fi
diff --git a/man3/rexec.3 b/man3/rexec.3
index 9a09a47a3..142f0028a 100644
--- a/man3/rexec.3
+++ b/man3/rexec.3
@@ -45,10 +45,10 @@ rexec, rexec_af \- return stream to a remote command
 .nf
 .B #include <netdb.h>
 .PP
-.BI "int rexec(char **" ahost ", int " inport ", const char *" user ", "
+.BI "int rexec(char **" ahost ", int " inport ", const char *" user ,
 .BI "          const char *" passwd ", const char *" cmd ", int *" fd2p );
 .PP
-.BI "int rexec_af(char **" ahost ", int " inport ", const char *" user ", "
+.BI "int rexec_af(char **" ahost ", int " inport ", const char *" user ,
 .BI "             const char *" passwd ", const char *" cmd ", int *" fd2p ,
 .BI "             sa_family_t " af  );
 .fi
diff --git a/man3/sem_open.3 b/man3/sem_open.3
index 8b5b1069d..df25016b0 100644
--- a/man3/sem_open.3
+++ b/man3/sem_open.3
@@ -33,7 +33,7 @@ sem_open \- initialize and open a named semaphore
 .B #include <semaphore.h>
 .PP
 .BI "sem_t *sem_open(const char *" name ", int " oflag );
-.BI "sem_t *sem_open(const char *" name ", int " oflag ", "
+.BI "sem_t *sem_open(const char *" name ", int " oflag ,
 .BI "                mode_t " mode ", unsigned int " value );
 .fi
 .PP
-- 
2.27.0

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

* Re: [PATCH] man3/*: srcfix: trim a trailing space
  2020-06-12 19:57 [PATCH] man3/*: srcfix: trim a trailing space Bjarni Ingi Gislason
@ 2020-06-12 19:59 ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2020-06-12 19:59 UTC (permalink / raw)
  To: Bjarni Ingi Gislason; +Cc: mtk.manpages, linux-man

Hello Bjarni,

On 6/12/20 9:57 PM, Bjarni Ingi Gislason wrote:
> Output is from: test-groff -b -e -mandoc -T utf8 -rF0 -t -w w -z
> 
>   [ "test-groff" is a developmental version of "groff" ]
> 
>   There is no change in the output of "nroff" and "groff".
> 
> ####
> 
> troff: <fts.3>:50: warning: trailing space
> ####
> 
> troff: <getgrnam.3>:175: warning: trailing space
> ####
> 
> troff: <getpwnam.3>:181: warning: trailing space
> ####
> 
> troff: <rcmd.3>:52: warning: trailing space
> troff: <rcmd.3>:57: warning: trailing space
> troff: <rcmd.3>:60: warning: trailing space
> troff: <rcmd.3>:63: warning: trailing space
> troff: <rcmd.3>:69: warning: trailing space
> troff: <rcmd.3>:73: warning: trailing space
> ####
> 
> troff: <rexec.3>:48: warning: trailing space
> troff: <rexec.3>:51: warning: trailing space
> ####
> 
> troff: <sem_open.3>:36: warning: trailing space
> 
> Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>

Thanks, patch applied.

Cheers,

Michael

> ---
>  man3/fts.3      |  2 +-
>  man3/getgrnam.3 |  2 +-
>  man3/getpwnam.3 |  2 +-
>  man3/rcmd.3     | 12 ++++++------
>  man3/rexec.3    |  4 ++--
>  man3/sem_open.3 |  2 +-
>  6 files changed, 12 insertions(+), 12 deletions(-)
> 
> diff --git a/man3/fts.3 b/man3/fts.3
> index 407d7e004..bbd5cad5e 100644
> --- a/man3/fts.3
> +++ b/man3/fts.3
> @@ -47,7 +47,7 @@ traverse a file hierarchy
>  .B #include <sys/stat.h>
>  .B #include <fts.h>
>  .PP
> -.BI "FTS *fts_open(char * const *" path_argv ", int " options ", "
> +.BI "FTS *fts_open(char * const *" path_argv ", int " options ,
>  .BI "              int (*" compar ")(const FTSENT **, const FTSENT **));"
>  .PP
>  .BI "FTSENT *fts_read(FTS *" ftsp );
> diff --git a/man3/getgrnam.3 b/man3/getgrnam.3
> index 50497059d..737d0a33a 100644
> --- a/man3/getgrnam.3
> +++ b/man3/getgrnam.3
> @@ -172,7 +172,7 @@ In case of error, an error number is returned, and NULL is stored in
>  .IR *result .
>  .SH ERRORS
>  .TP
> -.BR 0 " or " ENOENT " or " ESRCH " or " EBADF " or " EPERM " or ... "
> +.BR 0 " or " ENOENT " or " ESRCH " or " EBADF " or " EPERM " or ..."
>  The given
>  .I name
>  or
> diff --git a/man3/getpwnam.3 b/man3/getpwnam.3
> index eaac2836c..6c31b6647 100644
> --- a/man3/getpwnam.3
> +++ b/man3/getpwnam.3
> @@ -178,7 +178,7 @@ In case of error, an error number is returned, and NULL is stored in
>  .IR *result .
>  .SH ERRORS
>  .TP
> -.BR 0 " or " ENOENT " or " ESRCH " or " EBADF " or " EPERM " or ... "
> +.BR 0 " or " ENOENT " or " ESRCH " or " EBADF " or " EPERM " or ..."
>  The given
>  .I name
>  or
> diff --git a/man3/rcmd.3 b/man3/rcmd.3
> index 4eb18a637..70f3f510b 100644
> --- a/man3/rcmd.3
> +++ b/man3/rcmd.3
> @@ -49,28 +49,28 @@ stream to a remote command
>  .nf
>  .B #include <netdb.h> \ \ \fP/* Or <unistd.h> on some systems */
>  .PP
> -.BI "int rcmd(char **" ahost ", unsigned short " inport ", const char *" locuser ", "
> +.BI "int rcmd(char **" ahost ", unsigned short " inport ", const char *" locuser ,
>  .BI "         const char *" remuser ", const char *" cmd ", int *" fd2p );
>  .PP
>  .BI "int rresvport(int *" port );
>  .PP
> -.BI "int iruserok(uint32_t " raddr ", int " superuser ", "
> +.BI "int iruserok(uint32_t " raddr ", int " superuser ,
>  .BI "             const char *" ruser ", const char *" luser );
>  .PP
> -.BI "int ruserok(const char *" rhost ", int " superuser ", "
> +.BI "int ruserok(const char *" rhost ", int " superuser ,
>  .BI "            const char *" ruser ", const char *" luser );
>  .PP
> -.BI "int rcmd_af(char **" ahost ", unsigned short " inport ", const char *" locuser ", "
> +.BI "int rcmd_af(char **" ahost ", unsigned short " inport ", const char *" locuser ,
>  .BI "            const char *" remuser ", const char *" cmd ", int *" fd2p ,
>  .BI "            sa_family_t " af );
>  .PP
>  .BI "int rresvport_af(int *" port ", sa_family_t " af );
>  .PP
> -.BI "int iruserok_af(const void *" raddr ", int " superuser ", "
> +.BI "int iruserok_af(const void *" raddr ", int " superuser ,
>  .BI "                const char *" ruser ", const char *" luser \
>  ", sa_family_t " af );
>  .PP
> -.BI "int ruserok_af(const char *" rhost ", int " superuser ", "
> +.BI "int ruserok_af(const char *" rhost ", int " superuser ,
>  .BI "               const char *" ruser ", const char *" luser \
>  ", sa_family_t " af );
>  .fi
> diff --git a/man3/rexec.3 b/man3/rexec.3
> index 9a09a47a3..142f0028a 100644
> --- a/man3/rexec.3
> +++ b/man3/rexec.3
> @@ -45,10 +45,10 @@ rexec, rexec_af \- return stream to a remote command
>  .nf
>  .B #include <netdb.h>
>  .PP
> -.BI "int rexec(char **" ahost ", int " inport ", const char *" user ", "
> +.BI "int rexec(char **" ahost ", int " inport ", const char *" user ,
>  .BI "          const char *" passwd ", const char *" cmd ", int *" fd2p );
>  .PP
> -.BI "int rexec_af(char **" ahost ", int " inport ", const char *" user ", "
> +.BI "int rexec_af(char **" ahost ", int " inport ", const char *" user ,
>  .BI "             const char *" passwd ", const char *" cmd ", int *" fd2p ,
>  .BI "             sa_family_t " af  );
>  .fi
> diff --git a/man3/sem_open.3 b/man3/sem_open.3
> index 8b5b1069d..df25016b0 100644
> --- a/man3/sem_open.3
> +++ b/man3/sem_open.3
> @@ -33,7 +33,7 @@ sem_open \- initialize and open a named semaphore
>  .B #include <semaphore.h>
>  .PP
>  .BI "sem_t *sem_open(const char *" name ", int " oflag );
> -.BI "sem_t *sem_open(const char *" name ", int " oflag ", "
> +.BI "sem_t *sem_open(const char *" name ", int " oflag ,
>  .BI "                mode_t " mode ", unsigned int " value );
>  .fi
>  .PP
> 


-- 
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:[~2020-06-12 19:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-12 19:57 [PATCH] man3/*: srcfix: trim a trailing space Bjarni Ingi Gislason
2020-06-12 19:59 ` 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).