diff options
Diffstat (limited to 'usr/src/man/man1/iconv.1')
-rw-r--r-- | usr/src/man/man1/iconv.1 | 45 |
1 files changed, 9 insertions, 36 deletions
diff --git a/usr/src/man/man1/iconv.1 b/usr/src/man/man1/iconv.1 index 34d23cc35d..3071683444 100644 --- a/usr/src/man/man1/iconv.1 +++ b/usr/src/man/man1/iconv.1 @@ -2,14 +2,14 @@ .\" Copyright 1989 AT&T .\" Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] -.TH iconv 1 "14 Nov 2003" "SunOS 5.11" "User Commands" +.TH ICONV 1 "Nov 14, 2003" .SH NAME iconv \- code set conversion utility .SH SYNOPSIS @@ -50,12 +50,10 @@ conversion tables are provided in the \fBiconv\fR(5) manual page. The following options are supported: .sp .ne 2 -.mk .na \fB\fB-c\fR\fR .ad .RS 18n -.rt Omits any characters that are invalid in the codeset of the input file from the output. When \fB-c\fR is not used, the results of encountering invalid characters in the input stream depend on the specified codesets for the @@ -70,34 +68,28 @@ specified for the \fItocodeset\fR of the \fB-t\fR option, the specification of .sp .ne 2 -.mk .na \fB\fB-f\fR \fIfromcodeset\fR\fR .ad .RS 18n -.rt Identifies the code set of the input file. The following two forms of the \fIfromcodeset\fR option-argument are recognized: .sp .ne 2 -.mk .na \fB\fIfromcode\fR\fR .ad .RS 12n -.rt -The \fIfromcode\fR option-argument must not contain a slash (\fB/\fR) +The \fIfromcode\fR option-argument must not contain a slash (\fB/\fR) character. It is interpreted as the name of one of the codeset descriptions. .RE .sp .ne 2 -.mk .na \fB\fIfrommap\fR\fR .ad .RS 12n -.rt The \fIfrommap\fR option-argument must contain a slash character. It is interpreted as the pathname of a charmap file as defined in \fBcharmap\fR(5). If the pathname does not represent a valid, readable charmap file, the results @@ -109,23 +101,19 @@ If this option is omitted, the codeset of the current locale is used. .sp .ne 2 -.mk .na \fB\fB-l\fR\fR .ad .RS 18n -.rt Writes all supported \fIfromcode\fR and \fItocode\fR values to standard output. .RE .sp .ne 2 -.mk .na \fB\fB-s\fR\fR .ad .RS 18n -.rt Suppresses any messages written to standard error concerning invalid characters. When \fB-s\fR is not used, the results of encountering invalid characters in the input stream depend on the specified codesets for the @@ -140,34 +128,28 @@ specified for the \fItocodeset\fR of the \fB-t\fR option, the specification of .sp .ne 2 -.mk .na \fB\fB-t\fR \fItocodeset\fR\fR .ad .RS 18n -.rt Identifies the code set used for the output file. The following two forms of the \fItocodeset\fR option-argument are recognized: .sp .ne 2 -.mk .na \fB\fItocode\fR\fR .ad .RS 10n -.rt -The \fItocode\fR option-argument must not contain a slash (\fB/\fR) character. +The \fItocode\fR option-argument must not contain a slash (\fB/\fR) character. It is interpreted as the name of one of the codeset descriptions. .RE .sp .ne 2 -.mk .na \fB\fItomap\fR\fR .ad .RS 10n -.rt The \fItomap\fR option-argument must contain a slash character. It is interpreted as the pathname of a charmap file as defined in \fBcharmap\fR(5). If the pathname does not represent a valid, readable charmap file, the results @@ -188,12 +170,10 @@ fails as an error. The following operands are supported: .sp .ne 2 -.mk .na \fB\fIfile\fR\fR .ad .RS 8n -.rt A path name of an input file. If no file operands are specified, or if a file operand is '\fB-\fR', the standard input is used. .RE @@ -226,35 +206,29 @@ that affect the execution of \fBiconv\fR: \fBLANG\fR, \fBLC_ALL\fR, The following exit values are returned: .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 5n -.rt Successful completion. .RE .sp .ne 2 -.mk .na \fB\fB1\fR\fR .ad .RS 5n -.rt An error has occurred. .RE .SH FILES .sp .ne 2 -.mk .na \fB\fB/usr/lib/iconv/iconv_data\fR\fR .ad .RS 29n -.rt list of conversions supported by conversion tables .RE @@ -266,13 +240,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard .TE .SH SEE ALSO |