svn commit: r368244 - stable/12/usr.bin/iconv

Fernando Apesteguía fernape at FreeBSD.org
Tue Dec 1 18:13:58 UTC 2020


Author: fernape (ports committer)
Date: Tue Dec  1 18:13:57 2020
New Revision: 368244
URL: https://svnweb.freebsd.org/changeset/base/368244

Log:
  iconv(1): Add EXAMPLE
  
  Just a small example to show simple usage.
  
  Approved by:    manpages (0mp@)
  Differential Revision:	https://reviews.freebsd.org/D27385

Modified:
  stable/12/usr.bin/iconv/iconv.1
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/usr.bin/iconv/iconv.1
==============================================================================
--- stable/12/usr.bin/iconv/iconv.1	Tue Dec  1 18:12:25 2020	(r368243)
+++ stable/12/usr.bin/iconv/iconv.1	Tue Dec  1 18:13:57 2020	(r368244)
@@ -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 ,


More information about the svn-src-stable mailing list