HP-UX Reference (11i v2 04/09) - 4 File Formats (vol 8)
l
localedef(4) localedef(4)
mon_unit, day_unit, rour_unit, min_unit
, sec_unit.
LC_MESSAGES:
The LC_MESSAGES category defines the format and values for affirmative and negative responses.
The following keywords belong to this category and should come between the category tag
LC_MESSAGES and END LC_MESSAGES:
yesexpr The string operand is an Extended Regular Expression matching acceptable
affirmative responses to yes/no queries.
noexpr The string operand is an Extended Regular Expression matching acceptable
negative responses to yes/no queries.
yesstr The string operand identifies the affirmative response for yes/no questions.
This keyword is now obsolete and yesexpr
should be used instead.
nostr The string operand identifies the negative response for yes/no questions This
keyword is now obsolete and noexpr should be used instead.
Keyword Operands
Keyword operands consist of character-code constants and symbols, strings, and metacharacters. The
types of legal expressions are:
character lists,
string lists, integer lists, shift,
collating element entries, regular expression, character constants and string:
character lists
character list operands consist of single character-code constants or symbolic
names separated by semicolons, or a character-code range consisting of a constant or
symbolic name followed by an ellipsis followed by another constant or symbolic name.
The constant preceding the ellipsis must have a smaller code value than the constant fol-
lowing the ellipsis. A range represents a set of consecutive character codes. If the list is
longer than a single line, the escape character must be used at the end of each line as a
continuation character. It is an error to use any symbolic name that is not defined in an
accompanying charmap file (see charmap (4)).
string lists
string list operands consist of strings separated by semicolons. If longer than one
line, the escape character must be used for continuation.
string string operands consist of a sequence of zero or more characters surrounded by double
quotes ("). Within a string, the double-quote character must be preceded by an escape
character. The following escape sequences also can be used:
\n newline
\t horizontal tab
\b backspace
\r carriage return
\f form feed
\\ backslash
\’ single quote
\ddd bit pattern
The escape
\ddd consists of the escape character followed by 1, 2, or 3 octal
digits specifying the value of the desired character (for other possible bit pattern
specification, see character constants below). Also, an escape character (\) and
an immediately-following newline are ignored.
Although the backslash (\) has been used for illustration, another escape character can
be substituted by the
escape_char keyword.
character constants
Constants represent character codes in the operands. They can be used in the following
forms:
decimal constants An escape character followed by a
’d’ followed by up to three
decimal digits.
HP-UX 11i Version 2: September 2004 − 6 − Hewlett-Packard Company Section 4−−167