1GENBRK(1) ICU 63.2 Manual GENBRK(1)
2
3
4
6 genbrk - Compiles ICU break iteration rules source files into binary
7 data files
8
10 genbrk [ -h, -?, --help ] [ -V, --version ] [ -c, --copyright ] [ -v,
11 --verbose ] [ -d, --destdir destination ] [ -i, --icudatadir directory
12 ] -r, --rules rule-file -o, --out output-file
13
15 genbrk reads the break (boundary) rule source code from rule-file and
16 creates a break iteration data file. Normally this data file has the
17 .brk extension.
18
19 The details of the rule syntax can be found in ICU's User Guide.
20
22 -h, -?, --help
23 Print help about usage and exit.
24
25 -V, --version
26 Print the version of genbrk and exit.
27
28 -c, --copyright
29 Embeds the standard ICU copyright into the output-file.
30
31 -v, --verbose
32 Display extra informative messages during execution.
33
34 -d, --destdir destination
35 Set the destination directory of the output-file to destination.
36
37 -i, --icudatadir directory
38 Look for any necessary ICU data files in directory. For exam‐
39 ple, the file pnames.icu must be located when ICU's data is not
40 built as a shared library. The default ICU data directory is
41 specified by the environment variable ICU_DATA. Most configura‐
42 tions of ICU do not require this argument.
43
44 -r, --rules rule-file
45 The source file to read.
46
47 -o, --out output-file
48 The output data file to write.
49
51 When the rule-file contains a byte order mark (BOM) at the beginning of
52 the file, which is the Unicode character U+FEFF, then the rule-file is
53 interpreted as Unicode. Without the BOM, the file is interpreted in the
54 current operating system default codepage. In order to eliminate any
55 ambiguity of the encoding for how the rule-file was written, it is rec‐
56 ommended that you write this file in UTF-8 with the BOM.
57
59 ICU_DATA Specifies the directory containing ICU data. Defaults to
60 /usr/share/icu/63.2/. Some tools in ICU depend on the pres‐
61 ence of the trailing slash. It is thus important to make sure
62 that it is present if ICU_DATA is set.
63
65 George Rhoten
66 Andy Heninger
67
69 1.0
70
72 Copyright (C) 2005 International Business Machines Corporation and oth‐
73 ers
74
76 http://www.icu-project.org/userguide/boundaryAnalysis.html
77
78
79
80
81ICU MANPAGE 2 December 2005 GENBRK(1)