genbrk(1) — Linux manual page


GENBRK(1)                   ICU 70.0.1 Manual                  GENBRK(1)

NAME         top

       genbrk - Compiles ICU break iteration rules source files into
       binary data files

SYNOPSIS         top

       genbrk [ -h, -?, --help ] [ -V, --version ] [ -c, --copyright ] [
       -v, --verbose ] [ -d, --destdir destination ] [ -i, --icudatadir
       directory ] -r, --rules rule-file -o, --out output-file

DESCRIPTION         top

       genbrk reads the break (boundary) rule source code from rule-file
       and creates a break iteration data file. Normally this data file
       has the .brk extension.

       The details of the rule syntax can be found in ICU's User Guide.

OPTIONS         top

       -h, -?, --help
              Print help about usage and exit.

       -V, --version
              Print the version of genbrk and exit.

       -c, --copyright
              Embeds the standard ICU copyright into the output-file.

       -v, --verbose
              Display extra informative messages during execution.

       -d, --destdir destination
              Set the destination directory of the output-file to

       -i, --icudatadir directory
              Look for any necessary ICU data files in directory.  For
              example, the file 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
              ICU_DATA.  Most configurations of ICU do not require this

       -r, --rules rule-file
              The source file to read.

       -o, --out output-file
              The output data file to write.

CAVEATS         top

       When the rule-file contains a byte order mark (BOM) at the
       beginning of the file, which is the Unicode character U+FEFF,
       then the rule-file 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 rule-file was written, it is recommended that you
       write this file in UTF-8 with the BOM.

ENVIRONMENT         top

              Specifies the directory containing ICU data. Defaults to
              ${prefix}/share/icu/70.0.1/.  Some tools in ICU depend on
              the presence of the trailing slash. It is thus important
              to make sure that it is present if ICU_DATA is set.

AUTHORS         top

       George Rhoten
       Andy Heninger

VERSION         top


COPYRIGHT         top

       Copyright (C) 2005 International Business Machines Corporation
       and others

SEE ALSO         top 

COLOPHON         top

       This page is part of the ICU (International Components for
       Unicode) project.  Information about the project can be found at
       ⟨⟩.  If you have a bug report for
       this manual page, see ⟨⟩.  This
       page was obtained from the project's upstream Git repository
       ⟨⟩ on 2021-08-27.  (At that
       time, the date of the most recent commit that was found in the
       repository was 2021-08-26.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to

ICU MANPAGE                  2 December 2005                   GENBRK(1)