Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)

locale(4) OSS Shell and Utilities Reference Manual
nostr Species the locales equivalents of an acceptable negative response. This string is
accessible to applications through the nl_langinfo subroutine as nl_langinfo
(NOSTR).
The following is an example of a possible LC_MESSAGES category listed in a locale denition
source le:
LC_MESSAGES
#
yesexpr "<circumflex><left-square-bracket><y><Y><right-square-bracket>"
noexpr "<circumflex><left-square-bracket><n><N><right-square-bracket>"
yesstr "<y>:<Y>:<y><e><s>"
nostr "<n>:<N>:<n><o>"
#
END LC_MESSAGES
The LC_MONETARY Category
The LC_MONETARY category of a locale denition source le denes rules and symbols for
formatting monetary numeric information. This category begins with an LC_MONETARY
category header and terminates with an END LC_MONETARY category trailer.
All operands for the LC_MONETARY category keywords are dened as string or integer
values. String values are bounded by ""(double quotes). All values are separated from the key-
word they dene by one or more spaces. Two adjacent ""(double quotes) indicate an undened
string value. A -1 (negative one) indicates an undened integer value. The following keywords
are recognized in the LC_MONETARY category:
copy Species the name of an existing locale to be used as the denition of this category. If
you include a copy statement, no other keyword shall be specied.
int_curr_symbol
Species the string used for the international currency symbol. The operand for the
int_curr_symbol keyword is a 4-character string. The rst three characters contain
the alphabetic international currency symbol. The fourth character species a charac-
ter separator between the international currency symbol and a monetary quantity.
currency_symbol
Species the string used for the local currency symbol.
mon_decimal_point
Species the string used for the decimal delimiter used to format monetary quantities.
mon_thousands_sep
Species the character separator used for grouping digits to the left of the decimal del-
imiter in formatted monetary quantities.
mon_grouping
Species a string that denes the size of each group of digits in formatted monetary
quantities. The operand for the mon_grouping keyword consists of a sequence of
semicolon-separated integers. Each integer species the number of digits in a group.
The initial integer denes the size of the group immediately to the left of the decimal
delimiter. The following integers dene succeeding groups to the left of the previous
group. If the last digit is a 0 (zero), subsequent grouping is performed using the previ-
ous digit. If the last digit is nonzero, grouping is only performed for the number of
groups specied.
The following is an example of the interpretation of the mon_grouping statement.
Assuming the value to be formatted is 123456789 and the operand for the
1118 Hewlett-Packard Company 527188-004