linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] minor typo fixes in several pages
@ 2013-07-30 20:34 Akihiro MOTOKI
       [not found] ` <CALhU9tkjN=EBf0QBOzOV1exsER_fRxZSVgvh2c869D92NDonoQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Akihiro MOTOKI @ 2013-07-30 20:34 UTC (permalink / raw)
  To: linux-man-u79uwXL29TY76Z2rM5mHXA

I found typos in several pages from LDP man-pages 3.52.

_syscall.2
popen.3
tempnam.3
bootparam.7
socket.7

Is it better to split a patch per page?

diff --git a/manual/LDP_man-pages/original/man2/_syscall.2
b/manual/LDP_man-pages/original/man2/_syscall.2
index 9a79108..c29ca55 100644
--- a/manual/LDP_man-pages/original/man2/_syscall.2
+++ b/manual/LDP_man-pages/original/man2/_syscall.2
@@ -105,7 +105,7 @@ System calls are not required to return only
positive or negative error
 codes.
 You need to read the source to be sure how it will return errors.
 Usually, it is the negative of a standard error code,
-for example, i
+for example,
 .RI \- EPERM .
 The _syscall() macros will return the result
 .I r
diff --git a/manual/LDP_man-pages/original/man3/popen.3
b/manual/LDP_man-pages/original/man3/popen.3
index 7d669f4..f7a8afe 100644
--- a/manual/LDP_man-pages/original/man3/popen.3
+++ b/manual/LDP_man-pages/original/man3/popen.3
@@ -141,7 +141,7 @@ function returns \-1 if
 .BR wait4 (2)
 returns an error, or some other error is detected.
 In the event of an error, these functions set
-.I errnro
+.I errno
 to indicate the cause of the error.
 .SH ERRORS
 The
diff --git a/manual/LDP_man-pages/original/man3/tempnam.3
b/manual/LDP_man-pages/original/man3/tempnam.3
index 9b54943..e183257 100644
--- a/manual/LDP_man-pages/original/man3/tempnam.3
+++ b/manual/LDP_man-pages/original/man3/tempnam.3
@@ -85,7 +85,7 @@ is allocated using
 and hence should be freed by
 .BR free (3).
 .SH RETURN VALUE
-On succes, the
+On success, the
 .BR tempnam ()
 function returns a pointer to a unique temporary filename.
 It returns NULL if a unique name cannot be generated, with
diff --git a/manual/LDP_man-pages/original/man7/bootparam.7
b/manual/LDP_man-pages/original/man7/bootparam.7
index ecfd3c5..440fad5 100644
--- a/manual/LDP_man-pages/original/man7/bootparam.7
+++ b/manual/LDP_man-pages/original/man7/bootparam.7
@@ -466,7 +466,7 @@ a "normal" ramdisk, which is mounted read-write as
root device;
 then
 .I /linuxrc
 is executed; afterward the "real" root file system is mounted,
-and the initrd file system is moved over tocw
+and the initrd file system is moved over to
 .IR /initrd ;
 finally
 the usual boot sequence (e.g., invocation of
diff --git a/manual/LDP_man-pages/original/man7/socket.7
b/manual/LDP_man-pages/original/man7/socket.7
index f2213eb..3bf4c55 100644
--- a/manual/LDP_man-pages/original/man7/socket.7
+++ b/manual/LDP_man-pages/original/man7/socket.7
@@ -456,7 +456,7 @@ then the next peek at data queued in the socket
will occur at
 the byte offset specified by the option value.
 At the same time, the "peek offset" will be
 incremented by the number of bytes that were peeked from the queue,
-so that a subsequent peek will return the next data in the queue.i
+so that a subsequent peek will return the next data in the queue.

 If data is removed from the front of the queue via a call to
 .BR recv (2)

-- 
Akihiro MOTOKI <amotoki-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
--
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] 3+ messages in thread

* Re: [PATCH] minor typo fixes in several pages
       [not found] ` <CALhU9tkjN=EBf0QBOzOV1exsER_fRxZSVgvh2c869D92NDonoQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2013-07-30 22:29   ` Simon Paillard
  2013-08-01  9:40   ` Michael Kerrisk (man-pages)
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Paillard @ 2013-07-30 22:29 UTC (permalink / raw)
  To: Akihiro MOTOKI; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

On Wed, Jul 31, 2013 at 05:34:32AM +0900, Akihiro MOTOKI wrote:
> I found typos in several pages from LDP man-pages 3.52.
> 
> _syscall.2
> popen.3
> tempnam.3
> bootparam.7
> socket.7
> 
> Is it better to split a patch per page?

Seen on https://www.kernel.org/doc/man-pages/patches.html :
* Send logically separate patches (e.g., for unrelated pages, or for logically
  separate issues in the same page) as separate mails. 

But you should work against the git tree, that already contains some of the
fixes you submitted.
 

-- 
Simon Paillard
--
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] 3+ messages in thread

* Re: [PATCH] minor typo fixes in several pages
       [not found] ` <CALhU9tkjN=EBf0QBOzOV1exsER_fRxZSVgvh2c869D92NDonoQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2013-07-30 22:29   ` Simon Paillard
@ 2013-08-01  9:40   ` Michael Kerrisk (man-pages)
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Kerrisk (man-pages) @ 2013-08-01  9:40 UTC (permalink / raw)
  To: Akihiro MOTOKI
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA,
	mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w

On 07/30/13 22:34, Akihiro MOTOKI wrote:
> I found typos in several pages from LDP man-pages 3.52.
> 
> _syscall.2

Was already fixed.

> popen.3

Applied.

> tempnam.3

Applied.

> bootparam.7

Was already fixed.

> socket.7

Applied.

> Is it better to split a patch per page?

Generally, yes.

Thanks for the patches.

Cheers,

Michael


> diff --git a/manual/LDP_man-pages/original/man2/_syscall.2
> b/manual/LDP_man-pages/original/man2/_syscall.2
> index 9a79108..c29ca55 100644
> --- a/manual/LDP_man-pages/original/man2/_syscall.2
> +++ b/manual/LDP_man-pages/original/man2/_syscall.2
> @@ -105,7 +105,7 @@ System calls are not required to return only
> positive or negative error
>  codes.
>  You need to read the source to be sure how it will return errors.
>  Usually, it is the negative of a standard error code,
> -for example, i
> +for example,
>  .RI \- EPERM .
>  The _syscall() macros will return the result
>  .I r
> diff --git a/manual/LDP_man-pages/original/man3/popen.3
> b/manual/LDP_man-pages/original/man3/popen.3
> index 7d669f4..f7a8afe 100644
> --- a/manual/LDP_man-pages/original/man3/popen.3
> +++ b/manual/LDP_man-pages/original/man3/popen.3
> @@ -141,7 +141,7 @@ function returns \-1 if
>  .BR wait4 (2)
>  returns an error, or some other error is detected.
>  In the event of an error, these functions set
> -.I errnro
> +.I errno
>  to indicate the cause of the error.
>  .SH ERRORS
>  The
> diff --git a/manual/LDP_man-pages/original/man3/tempnam.3
> b/manual/LDP_man-pages/original/man3/tempnam.3
> index 9b54943..e183257 100644
> --- a/manual/LDP_man-pages/original/man3/tempnam.3
> +++ b/manual/LDP_man-pages/original/man3/tempnam.3
> @@ -85,7 +85,7 @@ is allocated using
>  and hence should be freed by
>  .BR free (3).
>  .SH RETURN VALUE
> -On succes, the
> +On success, the
>  .BR tempnam ()
>  function returns a pointer to a unique temporary filename.
>  It returns NULL if a unique name cannot be generated, with
> diff --git a/manual/LDP_man-pages/original/man7/bootparam.7
> b/manual/LDP_man-pages/original/man7/bootparam.7
> index ecfd3c5..440fad5 100644
> --- a/manual/LDP_man-pages/original/man7/bootparam.7
> +++ b/manual/LDP_man-pages/original/man7/bootparam.7
> @@ -466,7 +466,7 @@ a "normal" ramdisk, which is mounted read-write as
> root device;
>  then
>  .I /linuxrc
>  is executed; afterward the "real" root file system is mounted,
> -and the initrd file system is moved over tocw
> +and the initrd file system is moved over to
>  .IR /initrd ;
>  finally
>  the usual boot sequence (e.g., invocation of
> diff --git a/manual/LDP_man-pages/original/man7/socket.7
> b/manual/LDP_man-pages/original/man7/socket.7
> index f2213eb..3bf4c55 100644
> --- a/manual/LDP_man-pages/original/man7/socket.7
> +++ b/manual/LDP_man-pages/original/man7/socket.7
> @@ -456,7 +456,7 @@ then the next peek at data queued in the socket
> will occur at
>  the byte offset specified by the option value.
>  At the same time, the "peek offset" will be
>  incremented by the number of bytes that were peeked from the queue,
> -so that a subsequent peek will return the next data in the queue.i
> +so that a subsequent peek will return the next data in the queue.
> 
>  If data is removed from the front of the queue via a call to
>  .BR recv (2)
> 

--
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] 3+ messages in thread

end of thread, other threads:[~2013-08-01  9:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-30 20:34 [PATCH] minor typo fixes in several pages Akihiro MOTOKI
     [not found] ` <CALhU9tkjN=EBf0QBOzOV1exsER_fRxZSVgvh2c869D92NDonoQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-07-30 22:29   ` Simon Paillard
2013-08-01  9:40   ` 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).