aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-12-01 18:12:25 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-12-01 18:12:25 +0000
commitebe72bc26e7e31170d8b667b4388a24d5c7f0a0b (patch)
tree748554c50ffd4dcc73f85378167461489cdf3168
parentfbc188721651e6f2f77cf00d07c5d4b8d11038e7 (diff)
downloadsrc-ebe72bc26e7e31170d8b667b4388a24d5c7f0a0b.tar.gz
src-ebe72bc26e7e31170d8b667b4388a24d5c7f0a0b.zip
iconv(1): Add EXAMPLE
Just a small example to show simple usage. Approved by: manpages (0mp@) Differential Revision: https://reviews.freebsd.org/D27385
Notes
Notes: svn path=/stable/11/; revision=368243
-rw-r--r--usr.bin/iconv/iconv.17
1 files changed, 7 insertions, 0 deletions
diff --git a/usr.bin/iconv/iconv.1 b/usr.bin/iconv/iconv.1
index 3018a4b736a2..6a9d8ed7251e 100644
--- a/usr.bin/iconv/iconv.1
+++ b/usr.bin/iconv/iconv.1
@@ -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 ,