# GENBRK - Compiles ICU break iteration rules source files into b... - man - [phpMan]

[_GENBRK_(1)](https://www.chedong.com/phpMan.php/man/GENBRK/1/markdown)                                  ICU 74.2 Manual                                 [_GENBRK_(1)](https://www.chedong.com/phpMan.php/man/GENBRK/1/markdown)

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

## SYNOPSIS
       **genbrk  **[  **-h**,  **-?**,  **--help  **]  [ **-V**, **--version **] [ **-c**, **--copyright **] [ **-v**, **--verbose **] [ **-d**,
       **--destdir **_destination_ ] [ **-i**, **--icudatadir **_directory_ ] **-r**, **--rules **_rule-file_ **-o**,  **--out  **_out‐_
       _put-file_

## DESCRIPTION
       **genbrk  **reads the break (boundary) rule source code from _rule-file_ and creates a break itera‐
       tion 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
### -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 
              Set the destination directory of the _output-file_ to _destination_.

### -i --icudatadir 
              Look for any necessary ICU data files in _directory_.  For example, the file  **pnames.icu**
              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 argument.

### -r --rules 
              The source file to read.

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

## CAVEATS
       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 elimi‐
       nate 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
       **ICU_DATA  **Specifies the directory containing ICU data. Defaults to **${prefix}/share/icu/74.2/**.
                 Some  tools  in ICU depend on the presence of the trailing slash. It is thus impor‐
                 tant to make sure that it is present if **ICU_DATA **is set.

## AUTHORS
       George Rhoten
       Andy Heninger

## VERSION
       1.0

## COPYRIGHT
       Copyright (C) 2005 International Business Machines Corporation and others

## SEE ALSO
### <http://www.icu-project.org/userguide/boundaryAnalysis.html>


ICU MANPAGE                                2 December 2005                                 [_GENBRK_(1)](https://www.chedong.com/phpMan.php/man/GENBRK/1/markdown)
