Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)

File Format Reference Pages locale(4)
All operands for LC_CTYPE category statements are dened as lists of characters. Each list
consists of one or more semicolon-separated characters or symbolic character names.
The following keywords are recognized in the LC_CTYPE category. In the descriptions, the
term automatically included means that an error does not occur if the referenced characters are
included or omitted. The characters will be provided if they are missing and will be accepted if
they are present.
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.
upper Denes uppercase letter characters. No character dened by the cntrl, digit, punct,or
space keyword can be specied. If upper is not dened, A through Z default to upper.
lower Denes lowercase letter characters. No character dened by the cntrl, digit, punct,or
space keyword can be specied. If lower is not dened, a through z default to lower.
alpha Denes all letter characters. No character dened by the cntrl, digit, punct,orspace
keyword can be specied. Characters dened by the upper and lower keywords are
automatically included in this character class.
digit Denes numeric digit characters. Only the digits 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9 can be
specied. If digit is not dened, 0 through 9 default to digit.
alnum Denes alphanumeric characters. No character dened by the cntrl, punct,orspace
keyword can be specied. Characters dened by the alpha and digit keywords are
automatically included in this character class.
space Denes white-space characters. No character dened by the upper, lower, alpha,
digit, graph, cntrl,orxdigit keyword can be specied. If space is not dened, the
space, formfeed, newline, carriage-return, tab, and vertical tab characters default to
space.
cntrl Denes control characters. No character dened by the upper, lower, alpha, digit,
punct, graph, print, xdigit, blank,orspace keyword can be specied.
punct Denes punctuation characters. A character dened as the space character and charac-
ters dened by the upper, lower, alpha, digit, cntrl,orxdigit keyword, or as the
<space> character cannot be specied.
graph Denes printable characters, excluding the space character. If this keyword is not
specied, characters dened by the upper, lower, alpha, digit, xdigit, and punct key-
words are automatically included in this character class. No character dened by the
cntrl keyword can be specied.
print Denes printable characters, including the space character. If this keyword is not
specied, the space character and characters dened by the upper, lower, alpha, digit,
xdigit, and punct keywords and the <space> character are automatically included in
this character class. No character dened by the cntrl keyword can be specied.
xdigit Denes hexadecimal digit characters. Only the digits 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9 can
be specied. Any character can be specied for the hexadecimal values for 10 to 15,
however. These alternate hexadecimal digits are not used by standard conversion rou-
tines when converting digit strings from hexadecimal to numeric quantities. If xdigit is
not dened, the numbers 0 through 9 and the letters A through F and a through f
default to xdigit.
527188-003 Hewlett-Packard Company 1115