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

199 lines
4.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of GENBRK</TITLE>
</HEAD><BODY>
<H1>GENBRK</H1>
Section: ICU 66.1 Manual (1)<BR>Updated: 2 December 2005<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>genbrk</B>
- Compiles ICU break iteration rules source files into binary data files
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>genbrk</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>-o</B>, <B>--out</B><I> output-file</I>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>genbrk</B>
reads the break (boundary) rule source code from
<I>rule-file</I>
and creates a break iteration data file. Normally this data file has the
<B>.brk</B>
extension.
<P>
The details of the rule syntax can be found in ICU's User Guide.
<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>genbrk</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>-o</B>, <B>--out</B><I> output-file</I>
<DD>
The output data file to write.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>CAVEATS</H2>
When the
<I>rule-file</I>
contains a byte order mark (BOM) at the beginning of the file, which is the Unicode character
<B>U+FEFF,</B>
then the
<I>rule-file</I>
is interpreted as Unicode. Without the BOM,
the file is interpreted in the current operating system default codepage.
In order to eliminate any ambiguity of the encoding for how the
<I>rule-file</I>
was written, it is recommended that you write this file in UTF-8
with the BOM.
<A NAME="lbAG">&nbsp;</A>
<H2>ENVIRONMENT</H2>
<DL COMPACT>
<DT id="9"><B>ICU_DATA</B>
<DD>
Specifies the directory containing ICU data. Defaults to
<B>${prefix}/share/icu/66.1/</B>.
Some tools in ICU depend on the presence of the trailing slash. It is thus
important to make sure that it is present if
<B>ICU_DATA</B>
is set.
</DL>
<A NAME="lbAH">&nbsp;</A>
<H2>AUTHORS</H2>
George Rhoten
<BR>
Andy Heninger
<A NAME="lbAI">&nbsp;</A>
<H2>VERSION</H2>
1.0
<A NAME="lbAJ">&nbsp;</A>
<H2>COPYRIGHT</H2>
Copyright (C) 2005 International Business Machines Corporation and others
<A NAME="lbAK">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="http://www.icu-project.org/userguide/boundaryAnalysis.html">http://www.icu-project.org/userguide/boundaryAnalysis.html</A></B>
<P>
<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">CAVEATS</A><DD>
<DT id="15"><A HREF="#lbAG">ENVIRONMENT</A><DD>
<DT id="16"><A HREF="#lbAH">AUTHORS</A><DD>
<DT id="17"><A HREF="#lbAI">VERSION</A><DD>
<DT id="18"><A HREF="#lbAJ">COPYRIGHT</A><DD>
<DT id="19"><A HREF="#lbAK">SEE ALSO</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>