LOCALE(1) | General Commands Manual | LOCALE(1) |
locale
— get
locale-specific information
locale |
[-a | -m ] |
locale |
[-ck ] [keyword ...] |
The locale
utility is supposed to provide
most locale specific information to the standard output.
When locale
is invoked without arguments
it will print out a summary of the current locale environment depending on
environment variable settings and internal status.
When locale
is invoked with
arguments and no options specified it will print out
keyword's
value determined using current locale settings.
The following options are available:
-a
locale
will respect the
PATH_LOCALE
environment variable, and use it
instead of the system default locale directory.-c
-k
-m
Special (FreeBSD- / NetBSD-specific) keyword list can be used to retrieve a human readable list of available keywords.
The locale
utility exits 0 on
success, and >0 if an error occurs.
locale
conforms to IEEE
Std 1003.1-2001 (“POSIX.1”).
locale
first appeared in
NetBSD 2.0.
This implementation of locale
was
originally written by Alexey Zelkin
⟨phantom@FreeBSD.org⟩ for FreeBSD.
Since NetBSD does not support
charmaps
in their
POSIX
meaning locale
emulates the
-m
option via CODESETs listing of all available
locales.
July 4, 2003 | NetBSD 10.99 |