iconv(1): Add EXAMPLE

Just a small example to show simple usage.

Approved by:    manpages (0mp@)
Differential Revision:	https://reviews.freebsd.org/D27385
This commit is contained in:
Fernando Apesteguía 2020-12-01 18:12:25 +00:00
parent fbc1887216
commit ebe72bc26e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/11/; revision=368243

View File

@ -104,6 +104,13 @@ Specifies the destination codeset name as
.El
.Sh EXIT STATUS
.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
.Xr mkcsmapper 1 ,
.Xr mkesdb 1 ,