LOCALE(1) BSD General Commands Manual LOCALE(1)NAME
locale -- get locale-specific information
SYNOPSIS
locale [-a | -m]
locale [-ck] [keyword ...]
DESCRIPTION
The locale utility is supposed to provide most locale specific information to the standard output.
When locale is invoked without arguments it will print out a summary of the current locale environment depending on environment variable set-
tings and internal status.
When locale is invoked with arguments and no options specified it will print out keyword's value determined using current locale settings.
The following options are available:
-a Write names of all available locales. While looking for locales locale will respect the PATH_LOCALE environment variable, and use it
instead of the system default locale directory.
-c Write the category name for the selected keywords.
-k Write the name and value of the selected keywords.
-m Write names of all available charmaps.
IMPLEMENTATION DETAILS
Special (FreeBSD- / NetBSD-specific) keyword list can be used to retrieve a human readable list of available keywords.
DIAGNOSTICS
The locale utility exits 0 on success, and >0 if an error occurs.
STANDARDS
locale conforms to IEEE Std 1003.1-2001 (``POSIX.1'').
HISTORY
locale first appeared in NetBSD 2.0.
AUTHORS
This implementation of locale was originally written by Alexey Zelkin <phantom@FreeBSD.org> for FreeBSD.
BUGS
Since NetBSD does not support charmaps in their POSIX meaning locale emulates the -m option via CODESETs listing of all available locales.
BSD July 4, 2003 BSD
Check Out this Related Man Page
LOCALE(1) General Commands Manual LOCALE(1)NAME
locale - Get locale-specific information.
SYNOPSIS
locale [ -a | -m]
locale [ -ck ] name...
DESCRIPTION
The locale program writes information about the current locale environment, or all locales, to standard output.
When invoked without arguments, locale summarizes the current locale environment for each locale category defined by the LC_* environment
variables.
-a, --all-locales
Write names of available locales.
-m, --charmaps
Write names of available charmaps.
Output Format:
-c, --category-name
Write names of selected categories.
-k, --keyword-name
Write names and values of selected keywords.
ENVIRONMENT VARIABLES
LC_CTYPE
Character classification and case conversion.
LC_COLLATE
Collation order.
LC_TIME
Date and time formats.
LC_NUMERIC
Non-monetary numeric formats.
LC_MONETARY
Monetary formats.
LC_MESSAGES
Formats of informative and diagnostic messages and interactive responses.
AUTHOR
locale is written by Ulrich Drepper for the GNU C Library.
This manpage is written by Joel Klecker <espy@debian.org> for the Debian GNU/Linux system.
3rd Berkeley Distribution March 2001 LOCALE(1)
hi All,
I'm using sun OS 5.10.
All locales are set to en_US.ISO8859-1 in /etc/profile/init file.
I'm using one functional user.When I tried to "sesu - functionalUser",its giving me error like "Couldn't set locale correctly".In functional user profile i'm tring to set locales to en_US.After... (1 Reply)
1-Write a script that takes exactly one argument, a directory name.
2- If the number of arguments is more or less than one, print a usage message.
3-If the argument is not a directory, print another message.
4-For the given directory, print the five biggest files and the five files that... (0 Replies)
Hi all,
There may be an obvious answer to this that I am just overlooking.
I have a shell script (sh) that I am running on different locales on z/OS. It executes fine on most locales except for Chinese (zh_CN) and Turkish (tr_TR).
For these languages, the script does not even execute.
For... (2 Replies)
Dear All,
I have a question on what is the best way to control and list out multiple selective keywords to print out the report
Below is the Sample output of the listing
Code1
Code1
Code1
Identifier "Job"
Code2
Code2
Code2
Name "Impressive"
Code3
Code3
Code3
AGT_Manual
Code1... (3 Replies)