Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)
Table Of Contents
File Format Reference Pages locale(4)
All operands for LC_CTYPE category statements are defined 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 Specifies the name of an existing locale to be used as the definition of this category. If
you include a copy statement, no other keyword shall be specified.
upper Defines uppercase letter characters. No character defined by the cntrl, digit, punct,or
space keyword can be specified. If upper is not defined, A through Z default to upper.
lower Defines lowercase letter characters. No character defined by the cntrl, digit, punct,or
space keyword can be specified. If lower is not defined, a through z default to lower.
alpha Defines all letter characters. No character defined by the cntrl, digit, punct,orspace
keyword can be specified. Characters defined by the upper and lower keywords are
automatically included in this character class.
digit Defines numeric digit characters. Only the digits 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9 can be
specified. If digit is not defined, 0 through 9 default to digit.
alnum Defines alphanumeric characters. No character defined by the cntrl, punct,orspace
keyword can be specified. Characters defined by the alpha and digit keywords are
automatically included in this character class.
space Defines white-space characters. No character defined by the upper, lower, alpha,
digit, graph, cntrl,orxdigit keyword can be specified. If space is not defined, the
space, formfeed, newline, carriage-return, tab, and vertical tab characters default to
space.
cntrl Defines control characters. No character defined by the upper, lower, alpha, digit,
punct, graph, print, xdigit, blank,orspace keyword can be specified.
punct Defines punctuation characters. A character defined as the space character and charac-
ters defined by the upper, lower, alpha, digit, cntrl,orxdigit keyword, or as the
<space> character cannot be specified.
graph Defines printable characters, excluding the space character. If this keyword is not
specified, characters defined by the upper, lower, alpha, digit, xdigit, and punct key-
words are automatically included in this character class. No character defined by the
cntrl keyword can be specified.
print Defines printable characters, including the space character. If this keyword is not
specified, the space character and characters defined by the upper, lower, alpha, digit,
xdigit, and punct keywords and the <space> character are automatically included in
this character class. No character defined by the cntrl keyword can be specified.
xdigit Defines hexadecimal digit characters. Only the digits 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9 can
be specified. Any character can be specified 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 defined, the numbers 0 through 9 and the letters A through F and a through f
default to xdigit.
527188-003 Hewlett-Packard Company 11−15