OS Manuals

/usr/bin/gensprep

International Components for Unicode library

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

Usage: /usr/bin/gensprep [-options] [file_name]

Read the files specified and
create a binary file [package-name]_[bundle-name].spp with the StringPrep profile data

Options:
	-h or -? or --help       print this usage text
	-v or --verbose          verbose output
	-c or --copyright        include a copyright notice
	-d or --destdir          destination directory, followed by the path
	-s or --sourcedir        source directory of ICU data, followed by the path
	-b or --bundle-name      generate the output data file with the name specified
	-i or --icudatadir       directory for locating any needed intermediate data files,
	                         followed by path, defaults to /usr/share/icu/79.1
	-n or --normalize        turn on the option for normalization and include mappings
	                         from NormalizationCorrections.txt from the given path,
	                         e.g: /test/icu/source/data/unidata
	-m or --norm-correction  use NormalizationCorrections.txt from the given path
	                         when the input file contains a normalization directive.
	                         unlike -n/--normalize, this option does not force the
	                         normalization.
	-k or --check-bidi       turn on the option for checking for BiDi in the profile
	-u or --unicode          version of Unicode to be used with this profile followed by the version
Options (11)
OptionDescriptionSource
-h, -?, --helpPrint help about usage and exit.help + man
-v, --verboseDisplay extra informative messages during execution.help + man
-c, --copyrightInclude a copyright notice into the binary data.help + man
-d, --destdir destinationSet the destination directory to destination.help + man
-s, --sourcedir sourcesource directory of ICU data, followed by the pathhelp + man
-b, --bundle-namegenerate the output data file with the name specifiedhelp
-i, --icudatadirdirectory for locating any needed intermediate data files, followed by path, defaults to /usr/share/icu/79.1help
-n, --normalizeturn on the option for normalization and include mappings from NormalizationCorrections.txt from the given path, e.g: /test/icu/source/data/unidatahelp
-m, --norm-correctionuse NormalizationCorrections.txt from the given path when the input file contains a normalization directive.help
-k, --check-biditurn on the option for checking for BiDi in the profilehelp
-u, --unicodeversion of Unicode to be used with this profile followed by the versionhelp

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