environ.5 (2010 09)

e
environ(5) environ(5)
3. If the LANG environment variable is defined and is not null, the value of the
LANG
environment variable is used.
4. If the
LANG environment variable is not set or is set to the empty string, the POSIX/C
default locale is used. (See lang (5).)
LC_COLLATE
Determines the locale category for character collation. It determines collation information
for regular expressions and sorting, including equivalence classes and multi-character collat-
ing elements, in various utilities and strcoll (3C) and strxfrm (3C) (see string (3C)).
LC_CTYPE Determines the locale category for character classification (such as alphabetic, digit, upper-
case.) See isalpha (3C), isdigit (3C), and isupper (3C), character conversion in ctype (3C). See
toupper (3C), tolower (3C), and the interpretation of text as single-byte or multi-byte charac-
ters in conv (3C).
LC_MESSAGES
Determines the locale category for processing affirmative and negative responses and the
language and cultural conventions in which diagnostic and informative messages should be
written. It may also affect the behavior of catopen (3C) in determining the message catalog
to open.
LC_MONETARY
Determines the locale category for monetary-related numeric formatting information.
LC_NUMERIC
Determines the locale category for numeric formatting information (such as the thousands
separator and the radix character) in various utilities as well as the formatted I/O operations
in printf (3S) and scanf (3S) and the string conversion functions in strtod (3C).
LC_TIME Determines the locale category for date and time formatting information. It affects the
behavior of time functions in strftime (3C).
MANPATH Contains a colon-separated list of directory prefixes to be searched by man(1) for manual
entries. Upon logging in,
/etc/profile (or /etc/csh.login
) sets
MANPATH=/usr/share/man:/usr/contrib/man:usr/local/man
. If the file
/etc/MANPATH exists, the default settings are taken from this file.
MANPATH uses the same syntax as the PATH environment variable, with the addition of
recognizing the specifiers %L, %l, %t, and %c as used in the
NLSPATH environment vari-
able. See
NLSPATH below for a description of these specifiers. This provides a way to
specify paths to locale-specific manual entries.
It is assumed that each of the prefixes given in
MANPATH contain subdirectories of the form
man*, man*.Z, cat* and cat*.Z. (See man(1), catman (1M), and fixman (1M).)
NLSPATH Contains a sequence of pseudo-pathnames used by catopen (3C) when attempting to locate
message catalogs. Each pseudo-pathname contains a name template consisting of an
optional path prefix, one or more substitution field descriptors, a file name and an optional
file name suffix. For example:
NLSPATH="/system/nlslib/%N.cat"
defines that catopen (3C) should look for all message catalogs in the directory
/system/nlslib , where the catalog name should be constructed from the name parame-
ter passed to catopen (3C) (%N) with the suffix .cat.
Field descriptors consist of a
% followed by a single character. Field descriptors and their
substitution values are:
%N The value of the name parameter passed to catopen (3C).
%L The value of LC_MESSAGES.
%l The language element from LC_MESSAGES.
%t The territory element from LC_MESSAGES.
%c The codeset element from LC_MESSAGES.
%% Replaced by a single %.
For example, given:
NLSPATH="/system/nlslib/%L/%N.cat"
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010