xref: /netbsd-src/usr.bin/mkesdb/mkesdb.1 (revision 2718af68c3efc72c9769069b5c7f9ed36f6b9def)
1.\" $NetBSD: mkesdb.1,v 1.2 2016/06/28 09:25:21 wiz Exp $
2.\"
3.\" Copyright (c) 2009 Gabor Kovesdan <gabor@FreeBSD.org>
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\"
15.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25.\" SUCH DAMAGE.
26.\"
27.\" Portions of this text are reprinted and reproduced in electronic form
28.\" from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology --
29.\" Portable Operating System Interface (POSIX), The Open Group Base
30.\" Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of
31.\" Electrical and Electronics Engineers, Inc and The Open Group.  In the
32.\" event of any discrepancy between this version and the original IEEE and
33.\" The Open Group Standard, the original IEEE and The Open Group Standard is
34.\" the referee document.  The original Standard can be obtained online at
35.\"     http://www.opengroup.org/unix/online.html.
36.\"
37.\" $FreeBSD: head/usr.bin/mkesdb/mkesdb.1 276258 2014-12-26 21:56:23Z joel $
38.\"
39.Dd November 1, 2009
40.Dt MKESDB 1
41.Os
42.Sh NAME
43.Nm mkesdb
44.Nd generate a conversion catalog for
45.Xr iconv 3
46.Sh SYNOPSIS
47.Nm
48.Op Fl dm
49.Op Fl o Ar outfile
50.Op Ar infile
51.Sh DESCRIPTION
52The
53.Nm
54utility generates a conversion catalog for the
55.Xr iconv 3
56library.
57The generated data includes a list of supported encodings
58and their most important characteristics, like the pluggable
59module to use
60.Pp
61The following options are available:
62.Bl -tag -width XoXoutfileXX
63.It Fl d
64Turns on debug mode.
65.It Fl m
66Process directory catalog or alias file.
67If not specified, the input file is treated as an encoding description.
68.It Fl o Ar outfile
69Put generated binary data to
70.Ar outfile .
71.El
72.Sh EXIT STATUS
73.Ex -std mkesdb
74.Sh SEE ALSO
75.Xr iconv 1 ,
76.Xr mkcsmapper 1 ,
77.Xr iconv 3
78.Sh HISTORY
79.Nm
80first appeared in
81.Nx 2.0 ,
82and made its appearance in
83.Fx 9.0 .
84.Sh AUTHORS
85This manual page was written by
86.An Gabor Kovesdan Aq Mt gabor@FreeBSD.org .
87