OS Manuals

/usr/bin/gennorm2

International Components for Unicode library

From icu 79.1-r2 (os), captured 2026-11-10 by running gennorm2 --help (exit 1). permalink

Usage: /usr/bin/gennorm2 [-options] infiles+ -o outputfilename

Reads the infiles with normalization data and
creates a binary file, or a C source file (--csource), with the data,
or writes a data file with the combined data (--combined).
See https://unicode-org.github.io/icu/userguide/transforms/normalization#data-file-syntax

Alternate usage: /usr/bin/gennorm2 [-options] a.txt b.txt minus p.txt q.txt -o outputfilename

Computes the difference of (a, b) minus (p, q) and writes the diff data
in input-file syntax to the outputfilename.
It is then possible to build (p, q, diff) to get the same data as (a, b).
(Useful for computing minimal incremental mapping data files.)

Options:
	-h or -? or --help  this usage text
	-v or --verbose     verbose output
	-c or --copyright   include a copyright notice
	-u or --unicode     Unicode version, followed by the version like 5.2.0
	-s or --sourcedir   source directory, followed by the path
	-o or --output      output filename
	      --csource     writes a C source file with initializers
	      --combined    writes a .txt file (input-file syntax) with the
	                    combined data from all of the input files
	      --fast        optimize the data for fast normalization,
	                    which might increase its size  (Writes fully decomposed
	                    regular mappings instead of delta mappings.
	                    You should measure the runtime speed to make sure that
	                    this is a good trade-off.)
Options (9)
OptionDescriptionSource
-h, -?, --helpthis usage texthelp
-v, --verboseverbose outputhelp
-c, --copyrightinclude a copyright noticehelp
-u, --unicodeUnicode version, followed by the version like 5.2.0help
-s, --sourcedirsource directory, followed by the pathhelp
-o, --outputoutput filenamehelp
--csourcewrites a C source file with initializershelp
--combinedwrites a .txt file (input-file syntax) with the combined data from all of the input fileshelp
--fastoptimize the data for fast normalization, which might increase its size (Writes fully decomposed regular mappings instead of delta mappings.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.