]> git.saurik.com Git - apple/icu.git/blame_incremental - icuSources/tools/genbrk/genbrk.1.in
ICU-66108.tar.gz
[apple/icu.git] / icuSources / tools / genbrk / genbrk.1.in
... / ...
CommitLineData
1.\" Hey, Emacs! This is -*-nroff-*- you know...
2.\"
3.\" genbrk.1: manual page for the genbrk utility
4.\"
5.\" Copyright (C) 2016 and later: Unicode, Inc. and others.
6.\" License & terms of use: http://www.unicode.org/copyright.html
7.\" Copyright (C) 2005-2006 International Business Machines Corporation and others
8.\"
9.TH GENBRK 1 "2 December 2005" "ICU MANPAGE" "ICU @VERSION@ Manual"
10.SH NAME
11.B genbrk
12\- Compiles ICU break iteration rules source files into binary data files
13.SH SYNOPSIS
14.B genbrk
15[
16.BR "\-h\fP, \fB\-?\fP, \fB\-\-help"
17]
18[
19.BR "\-V\fP, \fB\-\-version"
20]
21[
22.BR "\-c\fP, \fB\-\-copyright"
23]
24[
25.BR "\-v\fP, \fB\-\-verbose"
26]
27[
28.BI "\-d\fP, \fB\-\-destdir" " destination"
29]
30[
31.BI "\-i\fP, \fB\-\-icudatadir" " directory"
32]
33.BI "\-r\fP, \fB\-\-rules" " rule\-file"
34.BI "\-o\fP, \fB\-\-out" " output\-file"
35.SH DESCRIPTION
36.B genbrk
37reads the break (boundary) rule source code from
38.I rule-file
39and creates a break iteration data file. Normally this data file has the
40.B .brk
41extension.
42.PP
43The details of the rule syntax can be found in ICU's User Guide.
44.SH OPTIONS
45.TP
46.BR "\-h\fP, \fB\-?\fP, \fB\-\-help"
47Print help about usage and exit.
48.TP
49.BR "\-V\fP, \fB\-\-version"
50Print the version of
51.B genbrk
52and exit.
53.TP
54.BR "\-c\fP, \fB\-\-copyright"
55Embeds the standard ICU copyright into the
56.IR output-file .
57.TP
58.BR "\-v\fP, \fB\-\-verbose"
59Display extra informative messages during execution.
60.TP
61.BI "\-d\fP, \fB\-\-destdir" " destination"
62Set the destination directory of the
63.IR output-file
64to
65.IR destination .
66.TP
67.BI "\-i\fP, \fB\-\-icudatadir" " directory"
68Look for any necessary ICU data files in
69.IR directory .
70For example, the file
71.B pnames.icu
72must be located when ICU's data is not built as a shared library.
73The default ICU data directory is specified by the environment variable
74.BR ICU_DATA .
75Most configurations of ICU do not require this argument.
76.TP
77.BI "\-r\fP, \fB\-\-rules" " rule\-file"
78The source file to read.
79.TP
80.BI "\-o\fP, \fB\-\-out" " output\-file"
81The output data file to write.
82.SH CAVEATS
83When the
84.IR rule-file
85contains a byte order mark (BOM) at the beginning of the file, which is the Unicode character
86.B U+FEFF,
87then the
88.IR rule-file
89is interpreted as Unicode. Without the BOM,
90the file is interpreted in the current operating system default codepage.
91In order to eliminate any ambiguity of the encoding for how the
92.IR rule-file
93was written, it is recommended that you write this file in UTF-8
94with the BOM.
95.SH ENVIRONMENT
96.TP 10
97.B ICU_DATA
98Specifies the directory containing ICU data. Defaults to
99.BR @thepkgicudatadir@/@PACKAGE@/@VERSION@/ .
100Some tools in ICU depend on the presence of the trailing slash. It is thus
101important to make sure that it is present if
102.B ICU_DATA
103is set.
104.SH AUTHORS
105George Rhoten
106.br
107Andy Heninger
108.SH VERSION
1091.0
110.SH COPYRIGHT
111Copyright (C) 2005 International Business Machines Corporation and others
112.SH SEE ALSO
113.BR http://www.icu-project.org/userguide/boundaryAnalysis.html
114