comparison CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/share/doc/gettext/msgattrib.1.html @ 68:5028fdace37b

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 16:23:26 -0400
parents
children
comparison
equal deleted inserted replaced
67:0e9998148a16 68:5028fdace37b
1 <!-- Creator : groff version 1.22.3 -->
2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
3 "http://www.w3.org/TR/html4/loose.dtd">
4 <html>
5 <head>
6 <meta name="generator" content="groff -Thtml, see www.gnu.org">
7 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
8 <meta name="Content-Style" content="text/css">
9 <style type="text/css">
10 p { margin-top: 0; margin-bottom: 0; vertical-align: top }
11 pre { margin-top: 0; margin-bottom: 0; vertical-align: top }
12 table { margin-top: 0; margin-bottom: 0; vertical-align: top }
13 h1 { text-align: center }
14 </style>
15 <title>MSGATTRIB</title>
16
17 </head>
18 <body>
19
20 <h1 align="center">MSGATTRIB</h1>
21
22 <a href="#NAME">NAME</a><br>
23 <a href="#SYNOPSIS">SYNOPSIS</a><br>
24 <a href="#DESCRIPTION">DESCRIPTION</a><br>
25 <a href="#AUTHOR">AUTHOR</a><br>
26 <a href="#REPORTING BUGS">REPORTING BUGS</a><br>
27 <a href="#COPYRIGHT">COPYRIGHT</a><br>
28 <a href="#SEE ALSO">SEE ALSO</a><br>
29
30 <hr>
31
32
33 <h2>NAME
34 <a name="NAME"></a>
35 </h2>
36
37
38 <p style="margin-left:11%; margin-top: 1em">msgattrib
39 - attribute matching and manipulation on message
40 catalog</p>
41
42 <h2>SYNOPSIS
43 <a name="SYNOPSIS"></a>
44 </h2>
45
46
47
48 <p style="margin-left:11%; margin-top: 1em"><b>msgattrib</b>
49 [<i>OPTION</i>] [<i>INPUTFILE</i>]</p>
50
51 <h2>DESCRIPTION
52 <a name="DESCRIPTION"></a>
53 </h2>
54
55
56 <p style="margin-left:11%; margin-top: 1em">Filters the
57 messages of a translation catalog according to their
58 attributes, and manipulates the attributes.</p>
59
60 <p style="margin-left:11%; margin-top: 1em">Mandatory
61 arguments to long options are mandatory for short options
62 too.</p>
63
64 <p style="margin-left:11%; margin-top: 1em"><b>Input file
65 location:</b> <br>
66 INPUTFILE</p>
67
68 <p style="margin-left:22%;">input PO file</p>
69
70 <p style="margin-left:11%;"><b>-D</b>,
71 <b>--directory</b>=<i>DIRECTORY</i></p>
72
73 <p style="margin-left:22%;">add DIRECTORY to list for input
74 files search</p>
75
76 <p style="margin-left:11%; margin-top: 1em">If no input
77 file is given or if it is -, standard input is
78 read.</p>
79
80 <p style="margin-left:11%; margin-top: 1em"><b>Output file
81 location: <br>
82 -o</b>,
83 <b>--output-file</b>=<i>FILE</i></p>
84
85 <p style="margin-left:22%;">write output to specified
86 file</p>
87
88 <p style="margin-left:11%; margin-top: 1em">The results are
89 written to standard output if no output file is specified or
90 if it is -.</p>
91
92 <p style="margin-left:11%; margin-top: 1em"><b>Message
93 selection: <br>
94 --translated</b></p>
95
96 <p style="margin-left:22%;">keep translated, remove
97 untranslated messages</p>
98
99
100 <p style="margin-left:11%;"><b>--untranslated</b></p>
101
102 <p style="margin-left:22%;">keep untranslated, remove
103 translated messages</p>
104
105
106 <p style="margin-left:11%;"><b>--no-fuzzy</b></p>
107
108 <p style="margin-left:22%;">remove &rsquo;fuzzy&rsquo;
109 marked messages</p>
110
111
112 <p style="margin-left:11%;"><b>--only-fuzzy</b></p>
113
114 <p style="margin-left:22%;">keep &rsquo;fuzzy&rsquo; marked
115 messages</p>
116
117
118 <p style="margin-left:11%;"><b>--no-obsolete</b></p>
119
120 <p style="margin-left:22%;">remove obsolete #~ messages</p>
121
122
123 <p style="margin-left:11%;"><b>--only-obsolete</b></p>
124
125 <p style="margin-left:22%;">keep obsolete #~ messages</p>
126
127 <p style="margin-left:11%; margin-top: 1em"><b>Attribute
128 manipulation: <br>
129 --set-fuzzy</b></p>
130
131 <p style="margin-left:22%;">set all messages
132 &rsquo;fuzzy&rsquo;</p>
133
134
135 <p style="margin-left:11%;"><b>--clear-fuzzy</b></p>
136
137 <p style="margin-left:22%;">set all messages
138 non-&rsquo;fuzzy&rsquo;</p>
139
140
141 <p style="margin-left:11%;"><b>--set-obsolete</b></p>
142
143 <p style="margin-left:22%;">set all messages obsolete</p>
144
145
146 <p style="margin-left:11%;"><b>--clear-obsolete</b></p>
147
148 <p style="margin-left:22%;">set all messages
149 non-obsolete</p>
150
151
152 <p style="margin-left:11%;"><b>--previous</b></p>
153
154 <p style="margin-left:22%;">when setting
155 &rsquo;fuzzy&rsquo;, keep previous msgids of translated
156 messages.</p>
157
158
159 <p style="margin-left:11%;"><b>--clear-previous</b></p>
160
161 <p style="margin-left:22%;">remove the &quot;previous
162 msgid&quot; from all messages</p>
163
164 <p style="margin-left:11%;"><b>--empty</b></p>
165
166 <p style="margin-left:22%;">when removing
167 &rsquo;fuzzy&rsquo;, also set msgstr empty</p>
168
169
170 <p style="margin-left:11%;"><b>--only-file</b>=<i>FILE</i>.po</p>
171
172 <p style="margin-left:22%;">manipulate only entries listed
173 in FILE.po</p>
174
175
176 <p style="margin-left:11%;"><b>--ignore-file</b>=<i>FILE</i>.po</p>
177
178 <p style="margin-left:22%;">manipulate only entries not
179 listed in FILE.po</p>
180
181 <p style="margin-left:11%;"><b>--fuzzy</b></p>
182
183 <p style="margin-left:22%;">synonym for
184 <b>--only-fuzzy
185 --clear-fuzzy</b></p>
186
187
188 <p style="margin-left:11%;"><b>--obsolete</b></p>
189
190 <p style="margin-left:22%;">synonym for
191 <b>--only-obsolete
192 --clear-obsolete</b></p>
193
194 <p style="margin-left:11%; margin-top: 1em"><b>Input file
195 syntax: <br>
196 -P</b>,
197 <b>--properties-input</b></p>
198
199 <p style="margin-left:22%;">input file is in Java
200 .properties syntax</p>
201
202
203 <p style="margin-left:11%;"><b>--stringtable-input</b></p>
204
205 <p style="margin-left:22%;">input file is in
206 NeXTstep/GNUstep .strings syntax</p>
207
208 <p style="margin-left:11%; margin-top: 1em"><b>Output
209 details: <br>
210 --color</b></p>
211
212 <p style="margin-left:22%;">use colors and other text
213 attributes always</p>
214
215
216 <p style="margin-left:11%;"><b>--color</b>=<i>WHEN</i></p>
217
218 <p style="margin-left:22%;">use colors and other text
219 attributes if WHEN. WHEN may be &rsquo;always&rsquo;,
220 &rsquo;never&rsquo;, &rsquo;auto&rsquo;, or
221 &rsquo;html&rsquo;.</p>
222
223
224 <p style="margin-left:11%;"><b>--style</b>=<i>STYLEFILE</i></p>
225
226 <p style="margin-left:22%;">specify CSS style rule file for
227 <b>--color</b></p>
228
229 <p style="margin-left:11%;"><b>-e</b>,
230 <b>--no-escape</b></p>
231
232 <p style="margin-left:22%;">do not use C escapes in output
233 (default)</p>
234
235 <p style="margin-left:11%;"><b>-E</b>,
236 <b>--escape</b></p>
237
238 <p style="margin-left:22%;">use C escapes in output, no
239 extended chars</p>
240
241
242 <p style="margin-left:11%;"><b>--force-po</b></p>
243
244 <p style="margin-left:22%;">write PO file even if empty</p>
245
246 <p style="margin-left:11%;"><b>-i</b>,
247 <b>--indent</b></p>
248
249 <p style="margin-left:22%;">write the .po file using
250 indented style</p>
251
252
253 <p style="margin-left:11%;"><b>--no-location</b></p>
254
255 <p style="margin-left:22%;">do not write &rsquo;#:
256 filename:line&rsquo; lines</p>
257
258 <p style="margin-left:11%;"><b>-n</b>,
259 <b>--add-location</b></p>
260
261 <p style="margin-left:22%;">generate &rsquo;#:
262 filename:line&rsquo; lines (default)</p>
263
264
265 <p style="margin-left:11%;"><b>--strict</b></p>
266
267 <p style="margin-left:22%;">write out strict Uniforum
268 conforming .po file</p>
269
270 <p style="margin-left:11%;"><b>-p</b>,
271 <b>--properties-output</b></p>
272
273 <p style="margin-left:22%;">write out a Java .properties
274 file</p>
275
276
277 <p style="margin-left:11%;"><b>--stringtable-output</b></p>
278
279 <p style="margin-left:22%;">write out a NeXTstep/GNUstep
280 .strings file</p>
281
282 <p style="margin-left:11%;"><b>-w</b>,
283 <b>--width</b>=<i>NUMBER</i></p>
284
285 <p style="margin-left:22%;">set output page width</p>
286
287
288 <p style="margin-left:11%;"><b>--no-wrap</b></p>
289
290 <p style="margin-left:22%;">do not break long message
291 lines, longer than the output page width, into several
292 lines</p>
293
294 <p style="margin-left:11%;"><b>-s</b>,
295 <b>--sort-output</b></p>
296
297 <p style="margin-left:22%;">generate sorted output</p>
298
299 <p style="margin-left:11%;"><b>-F</b>,
300 <b>--sort-by-file</b></p>
301
302 <p style="margin-left:22%;">sort output by file
303 location</p>
304
305 <p style="margin-left:11%; margin-top: 1em"><b>Informative
306 output: <br>
307 -h</b>, <b>--help</b></p>
308
309 <p style="margin-left:22%;">display this help and exit</p>
310
311 <p style="margin-left:11%;"><b>-V</b>,
312 <b>--version</b></p>
313
314 <p style="margin-left:22%;">output version information and
315 exit</p>
316
317 <h2>AUTHOR
318 <a name="AUTHOR"></a>
319 </h2>
320
321
322 <p style="margin-left:11%; margin-top: 1em">Written by
323 Bruno Haible.</p>
324
325 <h2>REPORTING BUGS
326 <a name="REPORTING BUGS"></a>
327 </h2>
328
329
330 <p style="margin-left:11%; margin-top: 1em">Report bugs in
331 the bug tracker at
332 &lt;https://savannah.gnu.org/projects/gettext&gt; or by
333 email to &lt;bug-gettext@gnu.org&gt;.</p>
334
335 <h2>COPYRIGHT
336 <a name="COPYRIGHT"></a>
337 </h2>
338
339
340 <p style="margin-left:11%; margin-top: 1em">Copyright
341 &copy; 2001-2023 Free Software Foundation, Inc.
342 License GPLv3+: GNU GPL version 3 or later
343 &lt;https://gnu.org/licenses/gpl.html&gt; <br>
344 This is free software: you are free to change and
345 redistribute it. There is NO WARRANTY, to the extent
346 permitted by law.</p>
347
348 <h2>SEE ALSO
349 <a name="SEE ALSO"></a>
350 </h2>
351
352
353 <p style="margin-left:11%; margin-top: 1em">The full
354 documentation for <b>msgattrib</b> is maintained as a
355 Texinfo manual. If the <b>info</b> and <b>msgattrib</b>
356 programs are properly installed at your site, the
357 command</p>
358
359 <p style="margin-left:22%; margin-top: 1em"><b>info
360 msgattrib</b></p>
361
362 <p style="margin-left:11%; margin-top: 1em">should give you
363 access to the complete manual.</p>
364 <hr>
365 </body>
366 </html>