History log of /freebsd-current/usr.bin/localedef/localedef.1
Revision Date Author Comments
# fa9896e0 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line nroff pattern

Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/


# 24ec316c 29-Jun-2023 Yuri Pankov <yuripv@FreeBSD.org>

Correctly spell illumos (all lowercase) in man pages

From illumos FAQ:

"illumos (pronounced i-llu-MOS and written in lowercase)"


# cc7edd25 07-Nov-2020 Thomas Munro <tmunro@FreeBSD.org>

Add collation version support to querylocale(3).

Provide a way to ask for an opaque version string for a locale_t, so
that potential changes in sort order can be detected. Similar to
ICU's ucol_getVersion() and Windows' GetNLSVersionEx(), this API is
intended to allow databases to detect when text order-based indexes
might need to be rebuilt.

The CLDR version is extracted from CLDR source data by the Makefile
under tools/tools/locale, written into the machine-generated Makefile
under shared/colldef, passed to localedef -V, and then written into
LC_COLLATE file headers. The initial version is 34.0.
tools/tools/locale was recently updated to pull down 35.0, but the
output hasn't been committed under share/colldef yet, so that will
provide the first observable change when it happens. Other versioning
schemes are possible in future, because the format is unspecified.

Reviewed by: bapt, 0mp, kib, yuripv (albeit a long time ago)
Differential Revision: https://reviews.freebsd.org/D17166


# 3d265fce 09-Oct-2020 Gordon Bergling <gbe@FreeBSD.org>

Fix a few mandoc issues

- skipping paragraph macro: Pp after Sh
- sections out of conventional order: Sh EXAMPLES
- whitespace at end of input line
- normalizing date format


# 4644f9be 20-Oct-2018 Yuri Pankov <yuripv@FreeBSD.org>

Add -b/-l options to localedef(1) to specify output endianness and use
it appropriately when building share/ctypedef and share/colldef.

This makes the resulting locale data in EL->EB (amd64->powerpc64) cross
build and in the native EB build match. Revert the changes done to libc
in r308170 as they are no longer needed.

PR: 231965
Reviewed by: bapt, emaste, sbruno, 0mp
Approved by: kib (mentor)
Differential Revision: https://reviews.freebsd.org/D17603


# 00d10c2c 07-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Rewrite the histoty part
Fix information about "Dragonfly-style" format which on freebsd is named
BSD-style

Noted by: bdrewery


# 5b3b54e0 07-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Improve localedef(1) manpage

Obtained from: DragonflyBSD


# 0c648b83 09-Aug-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Pet mandoc -Tlint


# 057ca2d4 07-Aug-2015 Baptiste Daroussin <bapt@FreeBSD.org>

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