Penguin
Blame: localedef(1)
EditPageHistoryDiffInfoLikePages
Annotated edit history of localedef(1) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 LOCALEDEF
2 !!!LOCALEDEF
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 OPTIONS
7 ENVIRONMENT
8 FILES
9 SEE ALSO
10 AUTHOR
11 STANDARDS
12 ----
13 !!NAME
14
15
16 localedef - compile locale definition files
17 !!SYNOPSIS
18
19
20 __localedef__ [[__-f__ ''charmapfile''] [[__-i__
21 ''inputfile''] [[__--force__] [[__--verbose__]
22 [[__--posix__] [[__--quiet__] ''outputpath''__
23 localedef --version
24 localedef --help__
25 !!DESCRIPTION
26
27
28 The __localedef__ program reads the indicated
29 ''charmap'' and ''input'' files, compiles them to a
30 form usable by the locale(7) functions in the C
31 library, and places the six output files in the
32 ''outputpath'' directory.
33
34
35 If no ''charmapfile'' is given, ''POSIX'' is used by
36 default. If no ''inputfile'' is given, or if it is given
37 as __-__, __localedef__ reads from standard
38 input.
39 !!OPTIONS
40
41
42 Most options can have either short or long forms. If
43 multiple short options are used, they can be combined in one
44 word (e.g. __-cv__). If an option takes an argument, the
45 argument can be given separately as the next word, or it can
46 be written as option=argument.
47
48
49 __-f__ ''charmapfile''__,
50 --charmap=__''charmapfile''
51
52
53 Specify the file that defines the symbolic character names
54 that are used by the input file. If the file is in the
55 default directory for character maps, it is not necessary to
56 specify the full pathname. This default directory is printed
57 by __localedef --help__.
58
59
60 __-i__ ''inputfile''__,
61 --inputfile=__''inputfile''
62
63
64 Specify the locale definition file to compile. If
65 ''inputfile'' is not absolute, __localedef__ will also
66 look in the directory specified by the environment variable
67 __I18NPATH__ and in the default directory for locale
68 definition files. This default directory is printed by
69 __localedef --help__.
70
71
72 __-c, --force__
73
74
75 Write the output files even if warnings were generated about
76 the input file.
77
78
79 __-v, --verbose__
80
81
82 Generate extra warnings about errors that are normally
83 ignored.
84
85
86 __--quiet__
87
88
89 Suppress all notifications and warnings, and report only
90 fatal errors.
91
92
93 __--posix__
94
95
96 Be strictly POSIX conformant. Implies __--verbose__. This
97 option currently has no other effect. Posix conformance is
98 assumed if the environment variable __POSIXLY_CORRECT__
99 is set.
100
101
102 __-u__ ''codeset''__,
103 --code-set-name=__''codeset''
104
105
106 This option is accepted but ignored.
107
108
109 __-h, --help__
110
111
112 Print a usage summary and exit. Also prints the default
113 paths used by __localedef__.
114
115
116 __-V, --version__
117
118
119 Print the version number, license, and disclaimer of
120 warranty for __localedef__.
121 !!ENVIRONMENT
122
123
124 __POSIXLY_CORRECT__
125
126
127 The __--posix__ flag is assumed if this environment
128 variable is set.
129
130
131 __I18NPATH__
132
133
134 The default directory for locale definition
135 files.
136 !!FILES
137
138
139 __/usr/share/i18n/charmaps__
140
141
142 Usual default charmap path.
143
144
145 __/usr/share/locale__
146
147
148 Usual default output path. See the output from __localedef
149 --help__ for the paths used in your version.
150
151
152 ''outputpath/''__LC_COLLATE__
153
154
155 One of the output files. It describes the rules for
156 comparing strings in the locale's alphabet.
157
158
159 ''outputpath/''__LC_CTYPE__
160
161
162 One of the output files. It contains information about
163 character cases and case conversions for the
164 locale.
165
166
167 ''outputpath/''__LC_MONETARY__
168
169
170 One of the output files. It describes the way monetary
171 values should be formatted in the locale.
172
173
174 ''outputpath/''__LC_MESSAGES/SYS_LC_MESSAGES__
175
176
177 One of the output files. It contains information about the
178 language messages should be printed in, and what an
179 affirmative or negative answer looks like.
180
181
182 ''outputpath/''__LC_NUMERIC__
183
184
185 One of the output files. It describes the rules for
186 formatting numbers in the locale.
187
188
189 ''outputpath/''__LC_TIME__
190
191
192 One of the output files. It describes the rules for
193 formatting times and dates in the locale.
194
195
196 ''outputpath/''__LC_PAPER__
197
198
199 One of the output files. It describes the default paper size
200 in the locale.
201
202
203 ''outputpath/''__LC_NAME__
204
205
206 One of the output files. It describes the rules for
207 formatting names in the locale.
208
209
210 ''outputpath/''__LC_ADDRESS__
211
212
213 One of the output files. It describes the rules for
214 formatting addresses, and other location information in the
215 locale.
216
217
218 ''outputpath/''__LC_TELEPHONE__
219
220
221 One of the output files. It describes the rules for
222 formatting telephone numbers in the locale.
223
224
225 ''outputpath/''__LC_MEASUREMENT__
226
227
228 One of the output files. It describes the rules for
229 measurement in the locale, e.g. Metric or other
230 units.
231
232
233 ''outputpath/''__LC_IDENTIFICATION__
234
235
236 One of the output files. It identifies the elements within
237 the locale.
238 !!SEE ALSO
239
240
241 locale(5), locale(7),
242 locale(1)
243 !!AUTHOR
244
245
246 The program was written by Ulrich Drepper.
247
248
249 This manpage was written by Richard Braakman
250 !!STANDARDS
251
252
253 This program conforms to the POSIX standard
254 P1003.2
255 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.