GENCNVAL(1)
π GENCNVAL(1) π
okay bestie, listen up β this is the gencnval page from the ICU 78.3 Manual, and it's lowkey one of those little tools that does one job and does it flawlessly. no notes. let's get into it π«Ά
β¨ NAME β¨
gencnval β compile the converters aliases file
πΈ SYNOPSIS πΈ
gencnval [ -h, -?, --help ] [ -v, --verbose ] [ -c, --copyright ] [ -s,
--sourcedir source ] [ -d, --destdir destination ] [ converterfile ]
π¦ DESCRIPTION π¦
so what does this girl actually do? gencnval takes the ICU aliases file β that's your converterfile β and converts it into a binary file called cnvalias.icu. that's it. that's the whole vibe. π
and then?? that binary file can be read directly by ICU, or it can be handed off to pkgdata(1) so it gets incorporated into a bigger archive or library. it's giving team player. it's giving "I make the build system work". iconic behavior fr fr.
and if you don't pass a converterfile? no stress, she just uses the default ICU convrtrs.txt file. main character energy, honestly. β¨
π OPTIONS π
-h,-?,--helpβ prints help about usage and then exits. the classic "help me I'm lost" move, and honestly? valid.-v,--verboseβ display verbose output. this info can include stuff about conflicting aliases and the converters that the aliases resolve to. so if you're nosy (and you are, bestie, I see you), this is your flag. π-c,--copyrightβ include a copyright notice in the binary data. gotta give credit where credit is due π-s,--sourcedir sourceβ set the source directory to source. the default source directory is specified by the environment variableICU_DATA.-d,--destdir destinationβ set the destination directory to destination. the default destination directory is specified by the environment variableICU_DATA.
π ENVIRONMENT π
ICU_DATAβ specifies the directory containing ICU data. defaults to${prefix}/share/icu/78.3/. π¨ important though: some tools in ICU depend on the presence of the trailing slash. so if you setICU_DATAyourself, you gotta make sure that slash is there. do not skip the slash. the slash is not optional. the slash is the moment. π
π FILES π
icu/source/data/mappings/convrtrs.txtβ description of ICU's converters and their aliases. heads up: this data file is not normally installed, and it's available as a part of ICU source code. so like, you gotta go get it from the source tree, bestie π§
β VERSION β
78.3
π COPYRIGHT π
Copyright (C) 2000-2004 IBM, Inc. and others.
π₯ SEE ALSO π₯
and that's the whole page, bestie!! π this gem is from the ICU MANPAGE, dated 11 March 2004 β yeah she's been serving since 2004 and she still eats ππ periodt. go forth and compile those converter aliases. I'm obsessed. π¦β¨
π¦ where this page comes from
- arch rolling: icu 78.3-1 Β· LicenseRef-Unicode-3.0 AND BSD-2-Clause AND BSD-3-Clause AND NAIST-2003
- ubuntu stonking: icu-devtools 78.3-2ubuntu1 Β· MIT
- Copyright (C) 2016 and later: Unicode, Inc. and others
- Copyright (C) 2000-2004 IBM, Inc. and others
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms