locale man page on FreeBSD

Man page or keyword search:  
man Server   9747 pages
apropos Keyword Search (all sections)
Output format
FreeBSD logo
[printable version]

LOCALE(1)		  BSD General Commands Manual		     LOCALE(1)

NAME
     locale — get locale-specific information

SYNOPSIS
     locale [-a | -m]
     locale -k list [prefix]
     locale [-ck] keyword ...

DESCRIPTION
     The locale utility is supposed to provide most locale specific informa‐
     tion to the standard output.

     When locale is invoked without arguments, it will print out a summary of
     the current locale environment, subject to the environment settings and
     internal status.

     When locale is invoked with the keyword arguments, and no options are
     specified, it will print out the values of all keywords specified, using
     the current locale settings.

     The following options are available:

     -a	     Print names of all available locales.  While looking for locales,
	     locale will respect the PATH_LOCALE environment variable, and use
	     it instead of the system's default locale directory.

     -m	     Print names of all available charmaps.

     -k	     Print the names and values of all selected keywords.

     -c	     Print the category name for all selected keywords.

IMPLEMENTATION NOTES
     The special (FreeBSD specific) keyword list can be used to retrieve the
     human readable list of all available keywords.  If so, a prefix string
     can be defined to limit the amount of keywords returned.

EXIT STATUS
     The locale utility exits 0 on success, and >0 if an error occurs.

SEE ALSO
     setlocale(3)

BUGS
     Since FreeBSD does not support charmaps in their POSIX meaning, locale
     emulates the -m option using the CODESETs listing of all available
     locales.

BSD			       November 1, 2005				   BSD
[top]

List of man pages available for FreeBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
...................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net