MAN page from Mandriva 2009 glibc-2.9-0.20081113.5.3mnb2.i586.rpm
LOCALEDEF
Section: User Commands (1)
Updated: July 28, 1997
Index NAME
localedef - compile locale definition files
SYNOPSIS
localedef[
-fcharmapfile][
-iinputfile][
--force][
--verbose][
--posix][
--quiet]
outputpathlocaledef --versionlocaledef --help DESCRIPTION
The
localedefprogram reads the indicated
charmapand
inputfiles, compiles them to a form usable by the
locale(7)functions in the C library, and places the six output files in the
outputpathdirectory.
If nocharmapfileis given,POSIXis used by default.If noinputfileis given, or if it is given as-,localedefreads from standard input.
OPTIONS
Most options can have either short or long forms. If multiple shortoptions are used, they can be combined in one word (e.g.
-cv).If an option takes an argument, the argument can be given separatelyas the next word, or it can be written as option=argument.
- -f charmapfile, --charmap=charmapfile
- Specify the file that defines the symbolic character names that areused by the input file. If the file is in the default directory forcharacter maps, it is not necessary to specify the full pathname.This default directory is printed bylocaledef --help.
- -i inputfile, --inputfile=inputfile
- Specify the locale definition file to compile. Ifinputfileis not absolute,localedefwill also look in the directory specified by the environment variableI18NPATHand in the default directory for locale definition files. This defaultdirectory is printed bylocaledef --help.
- -c, --force
- Write the output files even if warnings were generated about the inputfile.
- -v, --verbose
- Generate extra warnings about errors that are normally ignored.
- --quiet
- Suppress all notifications and warnings, and report only fatal errors.
- --posix
- Be strictly POSIX conformant. Implies--verbose.This option currently has no other effect. Posix conformance isassumed if the environment variablePOSIXLY_CORRECTis set.
- -u codeset, --code-set-name=codeset
- This option is accepted but ignored.
- -h, --help
- Print a usage summary and exit. Also prints the default paths used bylocaledef.
- -V, --version
- Print the version number, license, and disclaimer of warranty forlocaledef.
ENVIRONMENT
- POSIXLY_CORRECT
- The--posixflag is assumed if this environment variable is set.
- I18NPATH
- The default directory for locale definition files.
FILES
- /usr/share/i18n/charmaps
- Usual default charmap path.
- /usr/share/locale
- Usual default output path. See the output fromlocaledef --helpfor the paths used in your version.
- outputpath/LC_COLLATE
- One of the output files. It describes the rules for comparing stringsin the locale's alphabet.
- outputpath/LC_CTYPE
- One of the output files. It contains information about charactercases and case conversions for the locale.
- outputpath/LC_MONETARY
- One of the output files. It describes the way monetary values shouldbe formatted in the locale.
- outputpath/LC_MESSAGES/SYS_LC_MESSAGES
- One of the output files. It contains information about the languagemessages should be printed in, and what an affirmative or negativeanswer looks like.
- outputpath/LC_NUMERIC
- One of the output files. It describes the rules for formattingnumbers in the locale.
- outputpath/LC_TIME
- One of the output files. It describes the rules for formattingtimes and dates in the locale.
SEE ALSO
locale(5),
locale(7),
locale(1)
AUTHOR
The program was written by Ulrich Drepper.
This manpage was written by Richard Braakman <darkAATTxs4all.nl> onbehalf of the Debian GNU/Linux Project and anyone else who wants it.The manpage is not supported by the GNU libc maintainers and may beout of date.
STANDARDS
This program conforms to the POSIX standard P1003.2
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- ENVIRONMENT
- FILES
- SEE ALSO
- AUTHOR
- STANDARDS
This document was created byman2html,using the manual pages.