iconv(1): Add EXAMPLE

Just a small example to show simple usage.

Approved by:	manpages (0mp@)
MFC after:	2 weeks
Differential Revision:		https://reviews.freebsd.org/D27385
This commit is contained in:
fernape 2020-11-29 18:22:14 +00:00
parent a724ee8262
commit 561d9afbaf

View File

@ -104,6 +104,13 @@ Specifies the destination codeset name as
.El .El
.Sh EXIT STATUS .Sh EXIT STATUS
.Ex -std iconv .Ex -std iconv
.Sh EXAMPLES
Convert
.Pa file.txt
from IBM273 to UTF-8 and save the result to
.Pa converted.txt :
.Pp
.Dl iconv -f IBM273 -t UTF-8 file.txt > converted.txt
.Sh SEE ALSO .Sh SEE ALSO
.Xr mkcsmapper 1 , .Xr mkcsmapper 1 ,
.Xr mkesdb 1 , .Xr mkesdb 1 ,