16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

locale<br />

Description<br />

Options<br />

locale displays information about the current locale and all locales accessible to the<br />

current application. locale searches directory /usr/lib/nls/locale for all the compiled<br />

locales.<br />

Invoking locale with no options or operands displays the values of the LANG and<br />

LC_* environment variables. If a LC_* variable is not set or is overridden by<br />

LC_ALL, locale displays its implied value in double quotes.<br />

The operand name can be a category name, keyword name, or the reserved name<br />

charmap. If it is a category name, locale selects the given category and all<br />

keywords within it for output. If name is a keyword name, locale selects the given<br />

keyword and its category for output. If name is charmap, locale displays the name<br />

of the charmap used with the localedef –f option when the locale was created.<br />

–a Displays information about all accessible locales including P<strong>OS</strong>IX, the<br />

P<strong>OS</strong>IX locale.<br />

–c Displays the names of selected categories.<br />

–k Displays the names of selected keywords. If you do not specify the –k<br />

option, locale displays the values of selected keywords but not their names.<br />

With –k, strings are written in an unambiguous form using the escape<br />

character from the current locale.<br />

–m Displays a list of all available character maps.<br />

The following list contains valid locale keywords:<br />

lower Lower-case alphabet<br />

upper Upper-case alphabet<br />

alpha All alphabetic characters (upper and lower case)<br />

digit All numeric characters<br />

space How white space is represented<br />

cntrl Control characters<br />

punct Punctuation characters<br />

graph Graphic characters<br />

print Printable characters<br />

xdigit Hex digits<br />

blank How a blank is represented<br />

tolower<br />

Upper to lower case conversion<br />

toupper<br />

Lower to upper case conversion<br />

character-collation<br />

The collating sequence<br />

d_t_fmt<br />

Date and time format<br />

352 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!