MirBSD manpage: locale(1)

LOCALE(1)                    BSD Reference 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 informa-
     tion 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 settings
     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. On MirBSD, this is hard-
             coded.

     -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. On MirBSD, this is hard-
             coded.

IMPLEMENTATION DETAILS

     Special BSD-specific keyword list can be used to retrieve a human read-
     able 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. It was ported to MirBSD #10.

AUTHORS

     This implementation of locale was originally written by Alexey Zelkin
     <phantom@FreeBSD.org> for FreeBSD.

CAVEATS

     Since MirBSD only implements the 'C' and "OPTU-8" locales, some items are
     hard-coded.

MirBSD #10-current             November 1, 2006                              1

Generated on 2020-05-24 22:24:40 by $MirOS: src/scripts/roff2htm,v 1.101 2020/05/03 18:46:23 tg Exp $ — This product includes material provided by mirabilos.

These manual pages and other documentation are copyrighted by their respective writers; their sources are available at the project’s CVSweb, AnonCVS and other mirrors. The rest is Copyright © 2002–2020 MirBSD.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.