jpayne@68: .\" Hey, Emacs! This is -*-nroff-*- you know... jpayne@68: .\" jpayne@68: .\" gencfu.1: manual page for the gencfu utility jpayne@68: .\" jpayne@68: .\" Copyright (C) 2016 and later: Unicode, Inc. and others. jpayne@68: .\" License & terms of use: http://www.unicode.org/copyright.html jpayne@68: .\" Copyright (C) 2012 International Business Machines Corporation and others jpayne@68: .\" jpayne@68: .TH GENCFU 1 "24 May 2009" "ICU MANPAGE" "ICU 67.1 Manual" jpayne@68: .SH NAME jpayne@68: .B gencfu jpayne@68: \- Generates Unicode Confusable data files jpayne@68: .SH SYNOPSIS jpayne@68: .B gencfu jpayne@68: [ jpayne@68: .BR "\-h\fP, \fB\-?\fP, \fB\-\-help" jpayne@68: ] jpayne@68: [ jpayne@68: .BR "\-V\fP, \fB\-\-version" jpayne@68: ] jpayne@68: [ jpayne@68: .BR "\-c\fP, \fB\-\-copyright" jpayne@68: ] jpayne@68: [ jpayne@68: .BR "\-v\fP, \fB\-\-verbose" jpayne@68: ] jpayne@68: [ jpayne@68: .BI "\-d\fP, \fB\-\-destdir" " destination" jpayne@68: ] jpayne@68: [ jpayne@68: .BI "\-i\fP, \fB\-\-icudatadir" " directory" jpayne@68: ] jpayne@68: .BI "\-r\fP, \fB\-\-rules" " rule\-file" jpayne@68: .BI "\-w\fP, \fB\-\-wsrules" " whole\-script\-rule\-file" jpayne@68: .BI "\-o\fP, \fB\-\-out" " output\-file" jpayne@68: .SH DESCRIPTION jpayne@68: .B gencfu jpayne@68: reads confusable character definitions in the input file, which are jpayne@68: plain text files containing confusable character jpayne@68: definitions in the input format defined by Unicode UAX39 for the files jpayne@68: .I confusables.txt jpayne@68: and jpayne@68: .I confusablesWholeScript.txt. jpayne@68: This source (.txt) format is also accepted by ICU spoof detectors. jpayne@68: The files must be encoded in utf-8 format, with or without a BOM. jpayne@68: Normally the output data file has the jpayne@68: .B .cfu jpayne@68: extension. jpayne@68: .SH OPTIONS jpayne@68: .TP jpayne@68: .BR "\-h\fP, \fB\-?\fP, \fB\-\-help" jpayne@68: Print help about usage and exit. jpayne@68: .TP jpayne@68: .BR "\-V\fP, \fB\-\-version" jpayne@68: Print the version of jpayne@68: .B gencfu jpayne@68: and exit. jpayne@68: .TP jpayne@68: .BR "\-c\fP, \fB\-\-copyright" jpayne@68: Embeds the standard ICU copyright into the jpayne@68: .IR output-file . jpayne@68: .TP jpayne@68: .BR "\-v\fP, \fB\-\-verbose" jpayne@68: Display extra informative messages during execution. jpayne@68: .TP jpayne@68: .BI "\-d\fP, \fB\-\-destdir" " destination" jpayne@68: Set the destination directory of the jpayne@68: .IR output-file jpayne@68: to jpayne@68: .IR destination . jpayne@68: .TP jpayne@68: .BI "\-i\fP, \fB\-\-icudatadir" " directory" jpayne@68: Look for any necessary ICU data files in jpayne@68: .IR directory . jpayne@68: For example, the file jpayne@68: .B pnames.icu jpayne@68: must be located when ICU's data is not built as a shared library. jpayne@68: The default ICU data directory is specified by the environment variable jpayne@68: .BR ICU_DATA . jpayne@68: Most configurations of ICU do not require this argument. jpayne@68: .TP jpayne@68: .BI "\-r\fP, \fB\-\-rules" " rule\-file" jpayne@68: The source file to read. jpayne@68: .TP jpayne@68: .BI "\-w\fP, \fB\-\-wsrules" " whole\-script\-rule\-file" jpayne@68: The whole script source file to read. jpayne@68: .TP jpayne@68: .BI "\-o\fP, \fB\-\-out" " output\-file" jpayne@68: The output data file to write. jpayne@68: .SH VERSION jpayne@68: 1.0 jpayne@68: .SH COPYRIGHT jpayne@68: Copyright (C) 2009 International Business Machines Corporation and others