From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: myllynen-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org,
linux-man <linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Subject: Re: [PATCH] iconvconfig.8: New page for iconvconfig(8)
Date: Tue, 10 Jun 2014 21:43:01 +0200 [thread overview]
Message-ID: <53975FC5.9060305@gmail.com> (raw)
In-Reply-To: <5396C42D.9070806-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Hi Marko,
On 06/10/2014 10:39 AM, Marko Myllynen wrote:
> Hi,
>
> while writing the iconv(1) page I noticed there was no page for
> iconvconfig(8) so I wrote one, please see below.
Thanks.
Again, some comments below. Could you address and send a v2, please.
>>From 566561b63db0fe709570d3c5aca6262065d64f71 Mon Sep 17 00:00:00 2001
> From: Marko Myllynen <myllynen-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> Date: Mon, 9 Jun 2014 17:10:12 +0300
> Subject: [PATCH] iconvconfig.8: New page for iconvconfig(8)
>
> ---
> man8/iconvconfig.8 | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++
> 1 files changed, 86 insertions(+), 0 deletions(-)
> create mode 100644 man8/iconvconfig.8
>
> diff --git a/man8/iconvconfig.8 b/man8/iconvconfig.8
> new file mode 100644
> index 0000000..db7d926
> --- /dev/null
> +++ b/man8/iconvconfig.8
> @@ -0,0 +1,86 @@
> +'\" t -*- coding: UTF-8 -*-
> +.\"
> +.\" Copyright (C) 2014 Marko Myllynen <myllynen-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> +.\"
> +.\" %%%LICENSE_START(GPLv2+_DOC_FULL)
> +.\" This is free documentation; you can redistribute it and/or
> +.\" modify it under the terms of the GNU General Public License as
> +.\" published by the Free Software Foundation; either version 2 of
> +.\" the License, or (at your option) any later version.
> +.\"
> +.\" The GNU General Public License's references to "object code"
> +.\" and "executables" are to be interpreted as the output of any
> +.\" document formatting or typesetting system, including
> +.\" intermediate and printed output.
> +.\"
> +.\" This manual is distributed in the hope that it will be useful,
> +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
> +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> +.\" GNU General Public License for more details.
> +.\"
> +.\" You should have received a copy of the GNU General Public
> +.\" License along with this manual; if not, see
> +.\" <http://www.gnu.org/licenses/>.
> +.\" %%%LICENSE_END
> +.\"
> +.TH ICONVCONFIG 8 2014-06-09 "GNU" "Linux System Administration"
> +.SH NAME
> +iconvconfig \- create iconv module configuration cache
> +.SH SYNOPSIS
> +.B iconvconfig
> +.RI [ options ]
> +.RI [ directory ]...
> +.SH DESCRIPTION
> +The
> +.B iconvconfig
> +program reads iconv module configuration files and writes
> +a fastloading iconv module configuration cache file.
It's not completely clear from the preceding sentence
what the purpose of iconvconfig is. I think the reader
needs some help to:
* know what "iconv module configuration"
* what uses the cache file
> +Only the system default cache file is used by programs like
> +.BR iconv (1),
> +caching is disabled when additional gconv module directories
> +are specified with the environment variable
> +.BR GCONV_PATH .
The preceding sentence seems to cover two unrelated ideas. Could you split
and expand please. Also, the significance of "Only the system default cache
file is used"? It's not clear...
> +.SH OPTIONS
> +.TP
> +.B "\-\-nostdlib"
> +Do not search the system default gconv directory,
> +only those provided on the command line.
s/those/the directories/ ?
> +.TP
> +.BI \-o " outputfile" ", \-\-output=" outputfile
> +Use
> +.I outputfile
> +for output instead of the system default cache location.
> +.TP
> +.BI \-\-prefix= pathname
> +Set the prefix to be prepended to the system pathnames.
"system pathnames" needs some explanation, I think. What are they?
This might be as simple as adding "See FILES, below."
Cheers,
Michael
> +By default, the prefix is empty.
> +Setting the prefix to
> +.IR foo ,
> +the gconv module configuration would be read from
> +.IR foo/usr/lib/gconv/gconv-modules
> +and the cache would be written to
> +.IR foo/usr/lib/gconv/gconv-modules.cache .
> +.TP
> +.B "\-\-help"
> +Print a usage summary and exit.
> +.TP
> +.B "\-\-usage"
> +Print a short usage summary and exit.
> +.TP
> +.B "\-V, \-\-version"
> +Print the version number, license, and disclaimer of warranty for
> +.BR iconv .
> +.SH EXIT STATUS
> +Zero on success, non-zero on errors.
> +.SH FILES
> +.TP
> +.I /usr/lib/gconv
> +Usual default gconv module path.
> +.TP
> +.I /usr/lib/gconv/gconv-modules
> +Usual default gconv module configuration.
> +.TP
> +.I /usr/lib/gconv/gconv-modules.cache
> +Usual default gconv module configuration cache.
> +.SH "SEE ALSO"
> +.BR iconv (1)
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2014-06-10 19:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-10 8:39 [PATCH] iconvconfig.8: New page for iconvconfig(8) Marko Myllynen
[not found] ` <5396C42D.9070806-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-06-10 19:43 ` Michael Kerrisk (man-pages) [this message]
[not found] ` <53975FC5.9060305-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-06-11 8:09 ` Marko Myllynen
[not found] ` <53980ECB.7000307-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-06-11 10:29 ` Michael Kerrisk (man-pages)
[not found] ` <53982F78.5090504-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-06-11 13:27 ` Marko Myllynen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53975FC5.9060305@gmail.com \
--to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=myllynen-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.