:man| Alphabetical   Categories   About us 
 
LOCALE (1) | General commands | Unix Manual Pages | :man

NAME

locale - get locale-specific information

CONTENTS

Synopsis
Description
Implementation Notes
Exit Status
Bugs

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, 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 ( Fx specific) keyword list can be used to retrieve the human readable list of all available keywords.

EXIT STATUS


.Ex -std

BUGS

Since
.Fx does not support charmap s in their POSIX meaning, locale emulates the -m option using the CODESETs listing of all available locales.

June 20, 2003 LOCALE (1)
shtml">manServer 1.07 from locale.1 using doc macros.


Share this page

     Follow us

Facebook Twitter Google+ LinkedIn


 
Created by Blin Media, 2008-2013