Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)
User Commands (k - l) locale(1)
left_parenthesis
right_parenthesis
_____________________________________
LC_NUMERIC decimal_point
thousands_sep
grouping
_____________________________________
LC_TIME alt_digits
abday
day
abmon
mon
d_t_fmt
d_fmt
t_fmt
t_fmt_ampm
am_pm
era
era_d_fmt
era_t_fmt
era_d_t_fmt
era_year
_____________________________________
If several name arguments are specified, the locale utility processes them in order.
Environment Variables
The following environment variables affect the execution of locale: LANG, LC_ALL,
LC_CTYPE, LC_MESSAGES, NLSPATH.
EXAMPLES
1. If you set the LANG environment variable to fr_FR.ISO8859-1 and the
LC_MONETARY environment variable to fr_CA.ISO8859-1, the locale utility entered
without flags produces the following output:
locale
LANG=fr_FR.ISO8859-1
LC_COLLATE="fr_FR.ISO8859-1"
LC_CTYPE="fr_FR.ISO8859-1"
LC_MONETARY="fr_CA.ISO8859-1"
LC_NUMERIC="fr_FR.ISO8859-1"
LC_TIME="fr_FR.ISO8859-1"
LC_MESSAGES="fr_FR.ISO8859-1"
LC_ALL=
Note, however, that when setting the locale environment variables, some values imply
values for other locale variables. For example, if LC_ALL is set to en_US.ISO8859-1,it
implies LC_COLLATE=en_US.ISO8859-1, even if the LC_COLLATE environment
variable is set to another locale.
2. To use the locale utility to retrieve the value of the decimal_point delimiter for the
current locale, assuming the current locale is C/POSIX, enter:
locale -ck decimal_point
LC_NUMERIC
decimal_point="."
527188-007 Hewlett-Packard Company 5−65