All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] iconv.1: tfix
@ 2017-01-25 15:58 Jakub Wilk
       [not found] ` <20170125155846.4908-1-jwilk-tXgOlIzOKNReoWH0uzbU5w@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Jakub Wilk @ 2017-01-25 15:58 UTC (permalink / raw)
  To: Michael Kerrisk; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

Escape hyphens in option names and pathnames.

Signed-off-by: Jakub Wilk <jwilk-tXgOlIzOKNReoWH0uzbU5w@public.gmane.org>
---
 man1/iconv.1 | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/man1/iconv.1 b/man1/iconv.1
index 92542a5e3..8c7e2447d 100644
--- a/man1/iconv.1
+++ b/man1/iconv.1
@@ -29,8 +29,8 @@ iconv \- convert text from one character encoding to another
 .SH SYNOPSIS
 .B iconv
 .RI [ options ]
-.RI "[-f " from-encoding "]"
-.RI "[-t " to-encoding "]"
+.RI "[\-f " from-encoding "]"
+.RI "[\-t " to-encoding "]"
 .RI [ inputfile ]...
 .SH DESCRIPTION
 The
@@ -55,12 +55,12 @@ from the current locale's character
 encoding.
 .SH OPTIONS
 .TP
-.BI \-f " from-encoding" ", \-\-from-code=" from-encoding
+.BI \-f " from-encoding" ", \-\-from\-code=" from-encoding
 Use
 .I from-encoding
 for input characters.
 .TP
-.BI \-t " to-encoding" ", \-\-to-code=" to-encoding
+.BI \-t " to-encoding" ", \-\-to\-code=" to-encoding
 Use
 .I to-encoding
 for output characters.
@@ -171,10 +171,10 @@ directories.
 .I /usr/lib/gconv
 Usual default gconv module path.
 .TP
-.I /usr/lib/gconv/gconv-modules
+.I /usr/lib/gconv/gconv\-modules
 Usual system default gconv module configuration file.
 .TP
-.I /usr/lib/gconv/gconv-modules.cache
+.I /usr/lib/gconv/gconv\-modules.cache
 Usual system gconv module configuration cache.
 .SH CONFORMING TO
 POSIX.1-2001.
@@ -183,7 +183,7 @@ Convert text from the ISO 8859-15 character encoding to UTF-8:
 
 .in +4n
 .nf
-$ \fBiconv \-f ISO\-8859\-15 -t UTF\-8 < input.txt > output.txt\fP
+$ \fBiconv \-f ISO\-8859\-15 \-t UTF\-8 < input.txt > output.txt\fP
 .fi
 .in
 .PP
-- 
2.11.0

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

* [PATCH 2/2] iconv.1: ffix
       [not found] ` <20170125155846.4908-1-jwilk-tXgOlIzOKNReoWH0uzbU5w@public.gmane.org>
@ 2017-01-25 15:58   ` Jakub Wilk
       [not found]     ` <20170125155846.4908-2-jwilk-tXgOlIzOKNReoWH0uzbU5w@public.gmane.org>
  2017-01-25 18:25   ` [PATCH 1/2] iconv.1: tfix Michael Kerrisk (man-pages)
  1 sibling, 1 reply; 4+ messages in thread
From: Jakub Wilk @ 2017-01-25 15:58 UTC (permalink / raw)
  To: Michael Kerrisk; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

Don't embolden commas between option names.

Signed-off-by: Jakub Wilk <jwilk-tXgOlIzOKNReoWH0uzbU5w@public.gmane.org>
---
 man1/iconv.1 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/man1/iconv.1 b/man1/iconv.1
index 8c7e2447d..7d9eda76c 100644
--- a/man1/iconv.1
+++ b/man1/iconv.1
@@ -55,12 +55,12 @@ from the current locale's character
 encoding.
 .SH OPTIONS
 .TP
-.BI \-f " from-encoding" ", \-\-from\-code=" from-encoding
+.BI \-f " from-encoding" "\fR, \fP\-\-from\-code=" from-encoding
 Use
 .I from-encoding
 for input characters.
 .TP
-.BI \-t " to-encoding" ", \-\-to\-code=" to-encoding
+.BI \-t " to-encoding" "\fR, \fP\-\-to\-code=" to-encoding
 Use
 .I to-encoding
 for output characters.
@@ -90,7 +90,7 @@ List all known character set encodings.
 Silently discard characters that cannot be converted instead of
 terminating when encountering such characters.
 .TP
-.BI \-o " outputfile" ", \-\-output=" outputfile
+.BI \-o " outputfile" "\fR, \fP\-\-output=" outputfile
 Use
 .I outputfile
 for output.
-- 
2.11.0

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

* Re: [PATCH 1/2] iconv.1: tfix
       [not found] ` <20170125155846.4908-1-jwilk-tXgOlIzOKNReoWH0uzbU5w@public.gmane.org>
  2017-01-25 15:58   ` [PATCH 2/2] iconv.1: ffix Jakub Wilk
@ 2017-01-25 18:25   ` Michael Kerrisk (man-pages)
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Kerrisk (man-pages) @ 2017-01-25 18:25 UTC (permalink / raw)
  To: Jakub Wilk
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA

On 01/26/2017 04:58 AM, Jakub Wilk wrote:
> Escape hyphens in option names and pathnames.


Applied! Thanks, Jakub.

Cheers,

Michael



> Signed-off-by: Jakub Wilk <jwilk-tXgOlIzOKNReoWH0uzbU5w@public.gmane.org>
> ---
>  man1/iconv.1 | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/man1/iconv.1 b/man1/iconv.1
> index 92542a5e3..8c7e2447d 100644
> --- a/man1/iconv.1
> +++ b/man1/iconv.1
> @@ -29,8 +29,8 @@ iconv \- convert text from one character encoding to another
>  .SH SYNOPSIS
>  .B iconv
>  .RI [ options ]
> -.RI "[-f " from-encoding "]"
> -.RI "[-t " to-encoding "]"
> +.RI "[\-f " from-encoding "]"
> +.RI "[\-t " to-encoding "]"
>  .RI [ inputfile ]...
>  .SH DESCRIPTION
>  The
> @@ -55,12 +55,12 @@ from the current locale's character
>  encoding.
>  .SH OPTIONS
>  .TP
> -.BI \-f " from-encoding" ", \-\-from-code=" from-encoding
> +.BI \-f " from-encoding" ", \-\-from\-code=" from-encoding
>  Use
>  .I from-encoding
>  for input characters.
>  .TP
> -.BI \-t " to-encoding" ", \-\-to-code=" to-encoding
> +.BI \-t " to-encoding" ", \-\-to\-code=" to-encoding
>  Use
>  .I to-encoding
>  for output characters.
> @@ -171,10 +171,10 @@ directories.
>  .I /usr/lib/gconv
>  Usual default gconv module path.
>  .TP
> -.I /usr/lib/gconv/gconv-modules
> +.I /usr/lib/gconv/gconv\-modules
>  Usual system default gconv module configuration file.
>  .TP
> -.I /usr/lib/gconv/gconv-modules.cache
> +.I /usr/lib/gconv/gconv\-modules.cache
>  Usual system gconv module configuration cache.
>  .SH CONFORMING TO
>  POSIX.1-2001.
> @@ -183,7 +183,7 @@ Convert text from the ISO 8859-15 character encoding to UTF-8:
>  
>  .in +4n
>  .nf
> -$ \fBiconv \-f ISO\-8859\-15 -t UTF\-8 < input.txt > output.txt\fP
> +$ \fBiconv \-f ISO\-8859\-15 \-t UTF\-8 < input.txt > output.txt\fP
>  .fi
>  .in
>  .PP
> 


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

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

* Re: [PATCH 2/2] iconv.1: ffix
       [not found]     ` <20170125155846.4908-2-jwilk-tXgOlIzOKNReoWH0uzbU5w@public.gmane.org>
@ 2017-01-25 18:25       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Kerrisk (man-pages) @ 2017-01-25 18:25 UTC (permalink / raw)
  To: Jakub Wilk
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA

On 01/26/2017 04:58 AM, Jakub Wilk wrote:
> Don't embolden commas between option names.


Applied! Thanks, Jakub.

Cheers,

Michael



> Signed-off-by: Jakub Wilk <jwilk-tXgOlIzOKNReoWH0uzbU5w@public.gmane.org>
> ---
>  man1/iconv.1 | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/man1/iconv.1 b/man1/iconv.1
> index 8c7e2447d..7d9eda76c 100644
> --- a/man1/iconv.1
> +++ b/man1/iconv.1
> @@ -55,12 +55,12 @@ from the current locale's character
>  encoding.
>  .SH OPTIONS
>  .TP
> -.BI \-f " from-encoding" ", \-\-from\-code=" from-encoding
> +.BI \-f " from-encoding" "\fR, \fP\-\-from\-code=" from-encoding
>  Use
>  .I from-encoding
>  for input characters.
>  .TP
> -.BI \-t " to-encoding" ", \-\-to\-code=" to-encoding
> +.BI \-t " to-encoding" "\fR, \fP\-\-to\-code=" to-encoding
>  Use
>  .I to-encoding
>  for output characters.
> @@ -90,7 +90,7 @@ List all known character set encodings.
>  Silently discard characters that cannot be converted instead of
>  terminating when encountering such characters.
>  .TP
> -.BI \-o " outputfile" ", \-\-output=" outputfile
> +.BI \-o " outputfile" "\fR, \fP\-\-output=" outputfile
>  Use
>  .I outputfile
>  for output.
> 


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

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

end of thread, other threads:[~2017-01-25 18:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-25 15:58 [PATCH 1/2] iconv.1: tfix Jakub Wilk
     [not found] ` <20170125155846.4908-1-jwilk-tXgOlIzOKNReoWH0uzbU5w@public.gmane.org>
2017-01-25 15:58   ` [PATCH 2/2] iconv.1: ffix Jakub Wilk
     [not found]     ` <20170125155846.4908-2-jwilk-tXgOlIzOKNReoWH0uzbU5w@public.gmane.org>
2017-01-25 18:25       ` Michael Kerrisk (man-pages)
2017-01-25 18:25   ` [PATCH 1/2] iconv.1: tfix Michael Kerrisk (man-pages)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.