From f2f1a2a0a06730e61ac240591b69c40d86a0ff04 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fernando=20Apestegu=C3=ADa?= Date: Sun, 29 Nov 2020 18:22:14 +0000 Subject: [PATCH] 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 --- usr.bin/iconv/iconv.1 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/usr.bin/iconv/iconv.1 b/usr.bin/iconv/iconv.1 index 3018a4b736a..6a9d8ed7251 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 , -- 2.45.0