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