]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add localedef(1), a locale definition generator tool
authorbapt <bapt@FreeBSD.org>
Fri, 7 Aug 2015 23:53:31 +0000 (23:53 +0000)
committerbapt <bapt@FreeBSD.org>
Fri, 7 Aug 2015 23:53:31 +0000 (23:53 +0000)
commit6209f2034dfcbecaf42869e581720f72696dfafe
tree9d580c6339f304d46db483aca551cdc186abd6d5
parentd0ddb1da47f839c3d74d13c438fe48e5b0f81292
Add localedef(1), a locale definition generator tool

The localedef tool can read entire (and unmodified) CLDR posix definition
files, and generate all 6 LC categories: LC_COLLATE, LC_CTYPE, LC_TIME,
LC_NUMERIC, LC_MONETARY and LC_MESSAGES.

This tool has a long history with Solaris.  The Nexenta developers
modified it to read CLDR files and created the much richer collation
formats.  The libc collation functions have to be modified to read the
new format (called "BSD-1.0") and to handle the new data structures.

The result will be that locale-sensitive tools and functions will now
properly sort multibyte and unicode strings.

Obtained from: Dragonfly
16 files changed:
usr.bin/Makefile
usr.bin/localedef/Makefile [new file with mode: 0644]
usr.bin/localedef/README [new file with mode: 0644]
usr.bin/localedef/charmap.c [new file with mode: 0644]
usr.bin/localedef/collate.c [new file with mode: 0644]
usr.bin/localedef/ctype.c [new file with mode: 0644]
usr.bin/localedef/localedef.1 [new file with mode: 0644]
usr.bin/localedef/localedef.c [new file with mode: 0644]
usr.bin/localedef/localedef.h [new file with mode: 0644]
usr.bin/localedef/messages.c [new file with mode: 0644]
usr.bin/localedef/monetary.c [new file with mode: 0644]
usr.bin/localedef/numeric.c [new file with mode: 0644]
usr.bin/localedef/parser.y [new file with mode: 0644]
usr.bin/localedef/scanner.c [new file with mode: 0644]
usr.bin/localedef/time.c [new file with mode: 0644]
usr.bin/localedef/wide.c [new file with mode: 0644]