jpayne@68
|
1 .\" Hey, Emacs! This is -*-nroff-*- you know...
|
jpayne@68
|
2 .\"
|
jpayne@68
|
3 .\" gencfu.1: manual page for the gencfu utility
|
jpayne@68
|
4 .\"
|
jpayne@68
|
5 .\" Copyright (C) 2016 and later: Unicode, Inc. and others.
|
jpayne@68
|
6 .\" License & terms of use: http://www.unicode.org/copyright.html
|
jpayne@68
|
7 .\" Copyright (C) 2012 International Business Machines Corporation and others
|
jpayne@68
|
8 .\"
|
jpayne@68
|
9 .TH GENCFU 1 "24 May 2009" "ICU MANPAGE" "ICU 67.1 Manual"
|
jpayne@68
|
10 .SH NAME
|
jpayne@68
|
11 .B gencfu
|
jpayne@68
|
12 \- Generates Unicode Confusable data files
|
jpayne@68
|
13 .SH SYNOPSIS
|
jpayne@68
|
14 .B gencfu
|
jpayne@68
|
15 [
|
jpayne@68
|
16 .BR "\-h\fP, \fB\-?\fP, \fB\-\-help"
|
jpayne@68
|
17 ]
|
jpayne@68
|
18 [
|
jpayne@68
|
19 .BR "\-V\fP, \fB\-\-version"
|
jpayne@68
|
20 ]
|
jpayne@68
|
21 [
|
jpayne@68
|
22 .BR "\-c\fP, \fB\-\-copyright"
|
jpayne@68
|
23 ]
|
jpayne@68
|
24 [
|
jpayne@68
|
25 .BR "\-v\fP, \fB\-\-verbose"
|
jpayne@68
|
26 ]
|
jpayne@68
|
27 [
|
jpayne@68
|
28 .BI "\-d\fP, \fB\-\-destdir" " destination"
|
jpayne@68
|
29 ]
|
jpayne@68
|
30 [
|
jpayne@68
|
31 .BI "\-i\fP, \fB\-\-icudatadir" " directory"
|
jpayne@68
|
32 ]
|
jpayne@68
|
33 .BI "\-r\fP, \fB\-\-rules" " rule\-file"
|
jpayne@68
|
34 .BI "\-w\fP, \fB\-\-wsrules" " whole\-script\-rule\-file"
|
jpayne@68
|
35 .BI "\-o\fP, \fB\-\-out" " output\-file"
|
jpayne@68
|
36 .SH DESCRIPTION
|
jpayne@68
|
37 .B gencfu
|
jpayne@68
|
38 reads confusable character definitions in the input file, which are
|
jpayne@68
|
39 plain text files containing confusable character
|
jpayne@68
|
40 definitions in the input format defined by Unicode UAX39 for the files
|
jpayne@68
|
41 .I confusables.txt
|
jpayne@68
|
42 and
|
jpayne@68
|
43 .I confusablesWholeScript.txt.
|
jpayne@68
|
44 This source (.txt) format is also accepted by ICU spoof detectors.
|
jpayne@68
|
45 The files must be encoded in utf-8 format, with or without a BOM.
|
jpayne@68
|
46 Normally the output data file has the
|
jpayne@68
|
47 .B .cfu
|
jpayne@68
|
48 extension.
|
jpayne@68
|
49 .SH OPTIONS
|
jpayne@68
|
50 .TP
|
jpayne@68
|
51 .BR "\-h\fP, \fB\-?\fP, \fB\-\-help"
|
jpayne@68
|
52 Print help about usage and exit.
|
jpayne@68
|
53 .TP
|
jpayne@68
|
54 .BR "\-V\fP, \fB\-\-version"
|
jpayne@68
|
55 Print the version of
|
jpayne@68
|
56 .B gencfu
|
jpayne@68
|
57 and exit.
|
jpayne@68
|
58 .TP
|
jpayne@68
|
59 .BR "\-c\fP, \fB\-\-copyright"
|
jpayne@68
|
60 Embeds the standard ICU copyright into the
|
jpayne@68
|
61 .IR output-file .
|
jpayne@68
|
62 .TP
|
jpayne@68
|
63 .BR "\-v\fP, \fB\-\-verbose"
|
jpayne@68
|
64 Display extra informative messages during execution.
|
jpayne@68
|
65 .TP
|
jpayne@68
|
66 .BI "\-d\fP, \fB\-\-destdir" " destination"
|
jpayne@68
|
67 Set the destination directory of the
|
jpayne@68
|
68 .IR output-file
|
jpayne@68
|
69 to
|
jpayne@68
|
70 .IR destination .
|
jpayne@68
|
71 .TP
|
jpayne@68
|
72 .BI "\-i\fP, \fB\-\-icudatadir" " directory"
|
jpayne@68
|
73 Look for any necessary ICU data files in
|
jpayne@68
|
74 .IR directory .
|
jpayne@68
|
75 For example, the file
|
jpayne@68
|
76 .B pnames.icu
|
jpayne@68
|
77 must be located when ICU's data is not built as a shared library.
|
jpayne@68
|
78 The default ICU data directory is specified by the environment variable
|
jpayne@68
|
79 .BR ICU_DATA .
|
jpayne@68
|
80 Most configurations of ICU do not require this argument.
|
jpayne@68
|
81 .TP
|
jpayne@68
|
82 .BI "\-r\fP, \fB\-\-rules" " rule\-file"
|
jpayne@68
|
83 The source file to read.
|
jpayne@68
|
84 .TP
|
jpayne@68
|
85 .BI "\-w\fP, \fB\-\-wsrules" " whole\-script\-rule\-file"
|
jpayne@68
|
86 The whole script source file to read.
|
jpayne@68
|
87 .TP
|
jpayne@68
|
88 .BI "\-o\fP, \fB\-\-out" " output\-file"
|
jpayne@68
|
89 The output data file to write.
|
jpayne@68
|
90 .SH VERSION
|
jpayne@68
|
91 1.0
|
jpayne@68
|
92 .SH COPYRIGHT
|
jpayne@68
|
93 Copyright (C) 2009 International Business Machines Corporation and others
|