man-pages/man1/gencfu.1.html
2021-03-31 01:06:50 +01:00

157 lines
3.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of GENCFU</TITLE>
</HEAD><BODY>
<H1>GENCFU</H1>
Section: ICU 66.1 Manual (1)<BR>Updated: 24 May 2009<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
<B>gencfu</B>
- Generates Unicode Confusable data files
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>gencfu</B>
[
<B>-h</B>, <B>-?</B>, <B>--help</B>
]
[
<B>-V</B>, <B>--version</B>
]
[
<B>-c</B>, <B>--copyright</B>
]
[
<B>-v</B>, <B>--verbose</B>
]
[
<B>-d</B>, <B>--destdir</B><I> destination</I>
]
[
<B>-i</B>, <B>--icudatadir</B><I> directory</I>
]
<B>-r</B>, <B>--rules</B><I> rule-file</I>
<B>-w</B>, <B>--wsrules</B><I> whole-script-rule-file</I>
<B>-o</B>, <B>--out</B><I> output-file</I>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>gencfu</B>
reads confusable character definitions in the input file, which are
plain text files containing confusable character
definitions in the input format defined by Unicode UAX39 for the files
<I>confusables.txt</I>
and
<I>confusablesWholeScript.txt.</I>
This source (.txt) format is also accepted by ICU spoof detectors.
The files must be encoded in utf-8 format, with or without a BOM.
Normally the output data file has the
<B>.cfu</B>
extension.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT id="1"><B>-h</B>, <B>-?</B>, <B>--help</B>
<DD>
Print help about usage and exit.
<DT id="2"><B>-V</B>, <B>--version</B>
<DD>
Print the version of
<B>gencfu</B>
and exit.
<DT id="3"><B>-c</B>, <B>--copyright</B>
<DD>
Embeds the standard ICU copyright into the
<I>output-file</I>.
<DT id="4"><B>-v</B>, <B>--verbose</B>
<DD>
Display extra informative messages during execution.
<DT id="5"><B>-d</B>, <B>--destdir</B><I> destination</I>
<DD>
Set the destination directory of the
<I>output-file</I>
to
<I>destination</I>.
<DT id="6"><B>-i</B>, <B>--icudatadir</B><I> directory</I>
<DD>
Look for any necessary ICU data files in
<I>directory</I>.
For example, the file
<B>pnames.icu</B>
must be located when ICU's data is not built as a shared library.
The default ICU data directory is specified by the environment variable
<B>ICU_DATA</B>.
Most configurations of ICU do not require this argument.
<DT id="7"><B>-r</B>, <B>--rules</B><I> rule-file</I>
<DD>
The source file to read.
<DT id="8"><B>-w</B>, <B>--wsrules</B><I> whole-script-rule-file</I>
<DD>
The whole script source file to read.
<DT id="9"><B>-o</B>, <B>--out</B><I> output-file</I>
<DD>
The output data file to write.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>VERSION</H2>
1.0
<A NAME="lbAG">&nbsp;</A>
<H2>COPYRIGHT</H2>
Copyright (C) 2009 International Business Machines Corporation and others
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="10"><A HREF="#lbAB">NAME</A><DD>
<DT id="11"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="12"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="13"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="14"><A HREF="#lbAF">VERSION</A><DD>
<DT id="15"><A HREF="#lbAG">COPYRIGHT</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:13 GMT, March 31, 2021
</BODY>
</HTML>