mirror of https://github.com/mkerrisk/man-pages
iconv.1: tfix
Escape hyphens in option names and pathnames. Signed-off-by: Jakub Wilk <jwilk@jwilk.net> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
908a1b280a
commit
2081060818
14
man1/iconv.1
14
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
|
||||
|
|
Loading…
Reference in New Issue