HP-UX Reference (11i v1 05/09) - 4 File Formats (vol 8)
l
localedef(4) localedef(4)
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, collat-
ing 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 following 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 char-
acter. 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.
octal constants An escape character followed by up to three octal digits.
hexadecimal constants An escape character followed by a ’x’ followed by two hexade-
cimal digits.
Section 4−−160 Hewlett-Packard Company − 6 − HP-UX 11i Version 1: September 2005