1 <!-- Creator : groff version 1.18.1 -->
4 <meta name="generator" content="groff -Thtml, see www.gnu.org">
5 <meta name="Content-Style" content="text/css">
6 <title>MSGATTRIB</title>
10 <h1 align=center>MSGATTRIB</h1>
11 <a href="#NAME">NAME</a><br>
12 <a href="#SYNOPSIS">SYNOPSIS</a><br>
13 <a href="#DESCRIPTION">DESCRIPTION</a><br>
14 <a href="#AUTHOR">AUTHOR</a><br>
15 <a href="#REPORTING BUGS">REPORTING BUGS</a><br>
16 <a href="#COPYRIGHT">COPYRIGHT</a><br>
17 <a href="#SEE ALSO">SEE ALSO</a><br>
23 <table width="100%" border=0 rules="none" frame="void"
24 cols="2" cellspacing="0" cellpadding="0">
25 <tr valign="top" align="left">
28 <p>msgattrib − attribute matching and manipulation on
32 <a name="SYNOPSIS"></a>
35 <table width="100%" border=0 rules="none" frame="void"
36 cols="2" cellspacing="0" cellpadding="0">
37 <tr valign="top" align="left">
40 <p><b>msgattrib</b> [<i>OPTION</i>] [<i>INPUTFILE</i>]</p>
43 <a name="DESCRIPTION"></a>
46 <table width="100%" border=0 rules="none" frame="void"
47 cols="2" cellspacing="0" cellpadding="0">
48 <tr valign="top" align="left">
51 <p>Filters the messages of a translation catalog according
52 to their attributes, and manipulates the attributes.</p>
54 <p>Mandatory arguments to long options are mandatory for
55 short options too.</p>
59 <table width="100%" border=0 rules="none" frame="void"
60 cols="2" cellspacing="0" cellpadding="0">
61 <tr valign="top" align="left">
64 <p><b>Input file location:</b></p></td>
67 <table width="100%" border=0 rules="none" frame="void"
68 cols="2" cellspacing="0" cellpadding="0">
69 <tr valign="top" align="left">
75 <table width="100%" border=0 rules="none" frame="void"
76 cols="2" cellspacing="0" cellpadding="0">
77 <tr valign="top" align="left">
84 <table width="100%" border=0 rules="none" frame="void"
85 cols="2" cellspacing="0" cellpadding="0">
86 <tr valign="top" align="left">
90 <b>−−directory</b>=<i>DIRECTORY</i></p></td>
93 <table width="100%" border=0 rules="none" frame="void"
94 cols="2" cellspacing="0" cellpadding="0">
95 <tr valign="top" align="left">
98 <p>add DIRECTORY to list for input files search</p>
102 <table width="100%" border=0 rules="none" frame="void"
103 cols="2" cellspacing="0" cellpadding="0">
104 <tr valign="top" align="left">
105 <td width="10%"></td>
107 <p>If no input file is given or if it is -, standard input
112 <table width="100%" border=0 rules="none" frame="void"
113 cols="2" cellspacing="0" cellpadding="0">
114 <tr valign="top" align="left">
117 <p><b>Output file location:</b></p></td>
120 <table width="100%" border=0 rules="none" frame="void"
121 cols="2" cellspacing="0" cellpadding="0">
122 <tr valign="top" align="left">
123 <td width="10%"></td>
126 <b>−−output−file</b>=<i>FILE</i></p></td>
129 <table width="100%" border=0 rules="none" frame="void"
130 cols="2" cellspacing="0" cellpadding="0">
131 <tr valign="top" align="left">
132 <td width="21%"></td>
134 <p>write output to specified file</p>
138 <table width="100%" border=0 rules="none" frame="void"
139 cols="2" cellspacing="0" cellpadding="0">
140 <tr valign="top" align="left">
141 <td width="10%"></td>
143 <p>The results are written to standard output if no output
144 file is specified or if it is -.</p>
148 <table width="100%" border=0 rules="none" frame="void"
149 cols="2" cellspacing="0" cellpadding="0">
150 <tr valign="top" align="left">
153 <p><b>Message selection:</b></p></td>
156 <table width="100%" border=0 rules="none" frame="void"
157 cols="2" cellspacing="0" cellpadding="0">
158 <tr valign="top" align="left">
159 <td width="10%"></td>
161 <p><b>−−translated</b></p></td>
164 <table width="100%" border=0 rules="none" frame="void"
165 cols="2" cellspacing="0" cellpadding="0">
166 <tr valign="top" align="left">
167 <td width="21%"></td>
169 <p>keep translated, remove untranslated messages</p>
173 <table width="100%" border=0 rules="none" frame="void"
174 cols="2" cellspacing="0" cellpadding="0">
175 <tr valign="top" align="left">
176 <td width="10%"></td>
178 <p><b>−−untranslated</b></p></td>
181 <table width="100%" border=0 rules="none" frame="void"
182 cols="2" cellspacing="0" cellpadding="0">
183 <tr valign="top" align="left">
184 <td width="21%"></td>
186 <p>keep untranslated, remove translated messages</p>
190 <table width="100%" border=0 rules="none" frame="void"
191 cols="2" cellspacing="0" cellpadding="0">
192 <tr valign="top" align="left">
193 <td width="10%"></td>
195 <p><b>−−no−fuzzy</b></p></td>
198 <table width="100%" border=0 rules="none" frame="void"
199 cols="2" cellspacing="0" cellpadding="0">
200 <tr valign="top" align="left">
201 <td width="21%"></td>
203 <p>remove ’fuzzy’ marked messages</p>
207 <table width="100%" border=0 rules="none" frame="void"
208 cols="2" cellspacing="0" cellpadding="0">
209 <tr valign="top" align="left">
210 <td width="10%"></td>
212 <p><b>−−only−fuzzy</b></p></td>
215 <table width="100%" border=0 rules="none" frame="void"
216 cols="2" cellspacing="0" cellpadding="0">
217 <tr valign="top" align="left">
218 <td width="21%"></td>
220 <p>keep ’fuzzy’ marked messages</p>
224 <table width="100%" border=0 rules="none" frame="void"
225 cols="2" cellspacing="0" cellpadding="0">
226 <tr valign="top" align="left">
227 <td width="10%"></td>
229 <p><b>−−no−obsolete</b></p></td>
232 <table width="100%" border=0 rules="none" frame="void"
233 cols="2" cellspacing="0" cellpadding="0">
234 <tr valign="top" align="left">
235 <td width="21%"></td>
237 <p>remove obsolete #~ messages</p>
241 <table width="100%" border=0 rules="none" frame="void"
242 cols="2" cellspacing="0" cellpadding="0">
243 <tr valign="top" align="left">
244 <td width="10%"></td>
246 <p><b>−−only−obsolete</b></p></td>
249 <table width="100%" border=0 rules="none" frame="void"
250 cols="2" cellspacing="0" cellpadding="0">
251 <tr valign="top" align="left">
252 <td width="21%"></td>
254 <p>keep obsolete #~ messages</p>
258 <table width="100%" border=0 rules="none" frame="void"
259 cols="2" cellspacing="0" cellpadding="0">
260 <tr valign="top" align="left">
263 <p><b>Attribute manipulation:</b></p></td>
266 <table width="100%" border=0 rules="none" frame="void"
267 cols="2" cellspacing="0" cellpadding="0">
268 <tr valign="top" align="left">
269 <td width="10%"></td>
271 <p><b>−−set−fuzzy</b></p></td>
274 <table width="100%" border=0 rules="none" frame="void"
275 cols="2" cellspacing="0" cellpadding="0">
276 <tr valign="top" align="left">
277 <td width="21%"></td>
279 <p>set all messages ’fuzzy’</p>
283 <table width="100%" border=0 rules="none" frame="void"
284 cols="2" cellspacing="0" cellpadding="0">
285 <tr valign="top" align="left">
286 <td width="10%"></td>
288 <p><b>−−clear−fuzzy</b></p></td>
291 <table width="100%" border=0 rules="none" frame="void"
292 cols="2" cellspacing="0" cellpadding="0">
293 <tr valign="top" align="left">
294 <td width="21%"></td>
296 <p>set all messages non-’fuzzy’</p>
300 <table width="100%" border=0 rules="none" frame="void"
301 cols="2" cellspacing="0" cellpadding="0">
302 <tr valign="top" align="left">
303 <td width="10%"></td>
305 <p><b>−−set−obsolete</b></p></td>
308 <table width="100%" border=0 rules="none" frame="void"
309 cols="2" cellspacing="0" cellpadding="0">
310 <tr valign="top" align="left">
311 <td width="21%"></td>
313 <p>set all messages obsolete</p>
317 <table width="100%" border=0 rules="none" frame="void"
318 cols="2" cellspacing="0" cellpadding="0">
319 <tr valign="top" align="left">
320 <td width="10%"></td>
322 <p><b>−−clear−obsolete</b></p></td>
325 <table width="100%" border=0 rules="none" frame="void"
326 cols="2" cellspacing="0" cellpadding="0">
327 <tr valign="top" align="left">
328 <td width="21%"></td>
330 <p>set all messages non-obsolete</p>
334 <table width="100%" border=0 rules="none" frame="void"
335 cols="2" cellspacing="0" cellpadding="0">
336 <tr valign="top" align="left">
337 <td width="10%"></td>
339 <p><b>−−clear−previous</b></p></td>
342 <table width="100%" border=0 rules="none" frame="void"
343 cols="2" cellspacing="0" cellpadding="0">
344 <tr valign="top" align="left">
345 <td width="21%"></td>
347 <p>remove the "previous msgid" from all
352 <table width="100%" border=0 rules="none" frame="void"
353 cols="2" cellspacing="0" cellpadding="0">
354 <tr valign="top" align="left">
355 <td width="10%"></td>
358 <p><b>−−only−file</b>=<i>FILE</i>.po</p></td>
361 <table width="100%" border=0 rules="none" frame="void"
362 cols="2" cellspacing="0" cellpadding="0">
363 <tr valign="top" align="left">
364 <td width="21%"></td>
366 <p>manipulate only entries listed in FILE.po</p>
370 <table width="100%" border=0 rules="none" frame="void"
371 cols="2" cellspacing="0" cellpadding="0">
372 <tr valign="top" align="left">
373 <td width="10%"></td>
376 <p><b>−−ignore−file</b>=<i>FILE</i>.po</p></td>
379 <table width="100%" border=0 rules="none" frame="void"
380 cols="2" cellspacing="0" cellpadding="0">
381 <tr valign="top" align="left">
382 <td width="21%"></td>
384 <p>manipulate only entries not listed in FILE.po</p>
388 <table width="100%" border=0 rules="none" frame="void"
389 cols="2" cellspacing="0" cellpadding="0">
390 <tr valign="top" align="left">
391 <td width="10%"></td>
393 <p><b>−−fuzzy</b></p></td>
396 <table width="100%" border=0 rules="none" frame="void"
397 cols="2" cellspacing="0" cellpadding="0">
398 <tr valign="top" align="left">
399 <td width="21%"></td>
401 <p>synonym for <b>−−only−fuzzy
402 −−clear−fuzzy</b></p>
406 <table width="100%" border=0 rules="none" frame="void"
407 cols="2" cellspacing="0" cellpadding="0">
408 <tr valign="top" align="left">
409 <td width="10%"></td>
411 <p><b>−−obsolete</b></p></td>
414 <table width="100%" border=0 rules="none" frame="void"
415 cols="2" cellspacing="0" cellpadding="0">
416 <tr valign="top" align="left">
417 <td width="21%"></td>
419 <p>synonym for <b>−−only−obsolete
420 −−clear−obsolete</b></p>
424 <table width="100%" border=0 rules="none" frame="void"
425 cols="2" cellspacing="0" cellpadding="0">
426 <tr valign="top" align="left">
429 <p><b>Input file syntax:</b></p></td>
432 <table width="100%" border=0 rules="none" frame="void"
433 cols="2" cellspacing="0" cellpadding="0">
434 <tr valign="top" align="left">
435 <td width="10%"></td>
438 <b>−−properties−input</b></p></td>
441 <table width="100%" border=0 rules="none" frame="void"
442 cols="2" cellspacing="0" cellpadding="0">
443 <tr valign="top" align="left">
444 <td width="21%"></td>
446 <p>input file is in Java .properties syntax</p>
450 <table width="100%" border=0 rules="none" frame="void"
451 cols="2" cellspacing="0" cellpadding="0">
452 <tr valign="top" align="left">
453 <td width="10%"></td>
455 <p><b>−−stringtable−input</b></p></td>
458 <table width="100%" border=0 rules="none" frame="void"
459 cols="2" cellspacing="0" cellpadding="0">
460 <tr valign="top" align="left">
461 <td width="21%"></td>
463 <p>input file is in NeXTstep/GNUstep .strings syntax</p>
467 <table width="100%" border=0 rules="none" frame="void"
468 cols="2" cellspacing="0" cellpadding="0">
469 <tr valign="top" align="left">
472 <p><b>Output details:</b></p></td>
475 <table width="100%" border=0 rules="none" frame="void"
476 cols="2" cellspacing="0" cellpadding="0">
477 <tr valign="top" align="left">
478 <td width="10%"></td>
480 <p><b>−−color</b></p></td>
483 <table width="100%" border=0 rules="none" frame="void"
484 cols="2" cellspacing="0" cellpadding="0">
485 <tr valign="top" align="left">
486 <td width="21%"></td>
488 <p>use colors and other text attributes always</p>
492 <table width="100%" border=0 rules="none" frame="void"
493 cols="2" cellspacing="0" cellpadding="0">
494 <tr valign="top" align="left">
495 <td width="10%"></td>
497 <p><b>−−color</b>=<i>WHEN</i></p></td>
500 <table width="100%" border=0 rules="none" frame="void"
501 cols="2" cellspacing="0" cellpadding="0">
502 <tr valign="top" align="left">
503 <td width="21%"></td>
505 <p>use colors and other text attributes if WHEN. WHEN may be
506 ’always’, ’never’,
507 ’auto’, or ’html’.</p>
511 <table width="100%" border=0 rules="none" frame="void"
512 cols="2" cellspacing="0" cellpadding="0">
513 <tr valign="top" align="left">
514 <td width="10%"></td>
516 <p><b>−−style</b>=<i>STYLEFILE</i></p></td>
519 <table width="100%" border=0 rules="none" frame="void"
520 cols="2" cellspacing="0" cellpadding="0">
521 <tr valign="top" align="left">
522 <td width="21%"></td>
524 <p>specify CSS style rule file for
525 <b>−−color</b></p>
529 <table width="100%" border=0 rules="none" frame="void"
530 cols="2" cellspacing="0" cellpadding="0">
531 <tr valign="top" align="left">
532 <td width="10%"></td>
535 <b>−−no−escape</b></p></td>
538 <table width="100%" border=0 rules="none" frame="void"
539 cols="2" cellspacing="0" cellpadding="0">
540 <tr valign="top" align="left">
541 <td width="21%"></td>
543 <p>do not use C escapes in output (default)</p>
547 <table width="100%" border=0 rules="none" frame="void"
548 cols="2" cellspacing="0" cellpadding="0">
549 <tr valign="top" align="left">
550 <td width="10%"></td>
552 <p><b>−E</b>, <b>−−escape</b></p></td>
555 <table width="100%" border=0 rules="none" frame="void"
556 cols="2" cellspacing="0" cellpadding="0">
557 <tr valign="top" align="left">
558 <td width="21%"></td>
560 <p>use C escapes in output, no extended chars</p>
564 <table width="100%" border=0 rules="none" frame="void"
565 cols="2" cellspacing="0" cellpadding="0">
566 <tr valign="top" align="left">
567 <td width="10%"></td>
569 <p><b>−−force−po</b></p></td>
572 <table width="100%" border=0 rules="none" frame="void"
573 cols="2" cellspacing="0" cellpadding="0">
574 <tr valign="top" align="left">
575 <td width="21%"></td>
577 <p>write PO file even if empty</p>
581 <table width="100%" border=0 rules="none" frame="void"
582 cols="2" cellspacing="0" cellpadding="0">
583 <tr valign="top" align="left">
584 <td width="10%"></td>
586 <p><b>−i</b>, <b>−−indent</b></p></td>
589 <table width="100%" border=0 rules="none" frame="void"
590 cols="2" cellspacing="0" cellpadding="0">
591 <tr valign="top" align="left">
592 <td width="21%"></td>
594 <p>write the .po file using indented style</p>
598 <table width="100%" border=0 rules="none" frame="void"
599 cols="2" cellspacing="0" cellpadding="0">
600 <tr valign="top" align="left">
601 <td width="10%"></td>
603 <p><b>−−no−location</b></p></td>
606 <table width="100%" border=0 rules="none" frame="void"
607 cols="2" cellspacing="0" cellpadding="0">
608 <tr valign="top" align="left">
609 <td width="21%"></td>
611 <p>do not write ’#: filename:line’ lines</p>
615 <table width="100%" border=0 rules="none" frame="void"
616 cols="2" cellspacing="0" cellpadding="0">
617 <tr valign="top" align="left">
618 <td width="10%"></td>
621 <b>−−add−location</b></p></td>
624 <table width="100%" border=0 rules="none" frame="void"
625 cols="2" cellspacing="0" cellpadding="0">
626 <tr valign="top" align="left">
627 <td width="21%"></td>
629 <p>generate ’#: filename:line’ lines
634 <table width="100%" border=0 rules="none" frame="void"
635 cols="2" cellspacing="0" cellpadding="0">
636 <tr valign="top" align="left">
637 <td width="10%"></td>
639 <p><b>−−strict</b></p></td>
642 <table width="100%" border=0 rules="none" frame="void"
643 cols="2" cellspacing="0" cellpadding="0">
644 <tr valign="top" align="left">
645 <td width="21%"></td>
647 <p>write out strict Uniforum conforming .po file</p>
651 <table width="100%" border=0 rules="none" frame="void"
652 cols="2" cellspacing="0" cellpadding="0">
653 <tr valign="top" align="left">
654 <td width="10%"></td>
657 <b>−−properties−output</b></p></td>
660 <table width="100%" border=0 rules="none" frame="void"
661 cols="2" cellspacing="0" cellpadding="0">
662 <tr valign="top" align="left">
663 <td width="21%"></td>
665 <p>write out a Java .properties file</p>
669 <table width="100%" border=0 rules="none" frame="void"
670 cols="2" cellspacing="0" cellpadding="0">
671 <tr valign="top" align="left">
672 <td width="10%"></td>
674 <p><b>−−stringtable−output</b></p></td>
677 <table width="100%" border=0 rules="none" frame="void"
678 cols="2" cellspacing="0" cellpadding="0">
679 <tr valign="top" align="left">
680 <td width="21%"></td>
682 <p>write out a NeXTstep/GNUstep .strings file</p>
686 <table width="100%" border=0 rules="none" frame="void"
687 cols="2" cellspacing="0" cellpadding="0">
688 <tr valign="top" align="left">
689 <td width="10%"></td>
692 <b>−−width</b>=<i>NUMBER</i></p></td>
695 <table width="100%" border=0 rules="none" frame="void"
696 cols="2" cellspacing="0" cellpadding="0">
697 <tr valign="top" align="left">
698 <td width="21%"></td>
700 <p>set output page width</p>
704 <table width="100%" border=0 rules="none" frame="void"
705 cols="2" cellspacing="0" cellpadding="0">
706 <tr valign="top" align="left">
707 <td width="10%"></td>
709 <p><b>−−no−wrap</b></p></td>
712 <table width="100%" border=0 rules="none" frame="void"
713 cols="2" cellspacing="0" cellpadding="0">
714 <tr valign="top" align="left">
715 <td width="21%"></td>
717 <p>do not break long message lines, longer than the output
718 page width, into several lines</p>
722 <table width="100%" border=0 rules="none" frame="void"
723 cols="2" cellspacing="0" cellpadding="0">
724 <tr valign="top" align="left">
725 <td width="10%"></td>
728 <b>−−sort−output</b></p></td>
731 <table width="100%" border=0 rules="none" frame="void"
732 cols="2" cellspacing="0" cellpadding="0">
733 <tr valign="top" align="left">
734 <td width="21%"></td>
736 <p>generate sorted output</p>
740 <table width="100%" border=0 rules="none" frame="void"
741 cols="2" cellspacing="0" cellpadding="0">
742 <tr valign="top" align="left">
743 <td width="10%"></td>
746 <b>−−sort−by−file</b></p></td>
749 <table width="100%" border=0 rules="none" frame="void"
750 cols="2" cellspacing="0" cellpadding="0">
751 <tr valign="top" align="left">
752 <td width="21%"></td>
754 <p>sort output by file location</p>
758 <table width="100%" border=0 rules="none" frame="void"
759 cols="2" cellspacing="0" cellpadding="0">
760 <tr valign="top" align="left">
763 <p><b>Informative output:</b></p></td>
766 <table width="100%" border=0 rules="none" frame="void"
767 cols="2" cellspacing="0" cellpadding="0">
768 <tr valign="top" align="left">
769 <td width="10%"></td>
771 <p><b>−h</b>, <b>−−help</b></p></td>
774 <table width="100%" border=0 rules="none" frame="void"
775 cols="2" cellspacing="0" cellpadding="0">
776 <tr valign="top" align="left">
777 <td width="21%"></td>
779 <p>display this help and exit</p>
783 <table width="100%" border=0 rules="none" frame="void"
784 cols="2" cellspacing="0" cellpadding="0">
785 <tr valign="top" align="left">
786 <td width="10%"></td>
788 <p><b>−V</b>, <b>−−version</b></p></td>
791 <table width="100%" border=0 rules="none" frame="void"
792 cols="2" cellspacing="0" cellpadding="0">
793 <tr valign="top" align="left">
794 <td width="21%"></td>
796 <p>output version information and exit</p>
799 <a name="AUTHOR"></a>
802 <table width="100%" border=0 rules="none" frame="void"
803 cols="2" cellspacing="0" cellpadding="0">
804 <tr valign="top" align="left">
805 <td width="10%"></td>
807 <p>Written by Bruno Haible.</p>
810 <a name="REPORTING BUGS"></a>
811 <h2>REPORTING BUGS</h2>
813 <table width="100%" border=0 rules="none" frame="void"
814 cols="2" cellspacing="0" cellpadding="0">
815 <tr valign="top" align="left">
816 <td width="10%"></td>
818 <p>Report bugs to <bug-gnu-gettext@gnu.org>.</p>
821 <a name="COPYRIGHT"></a>
824 <table width="100%" border=0 rules="none" frame="void"
825 cols="2" cellspacing="0" cellpadding="0">
826 <tr valign="top" align="left">
827 <td width="10%"></td>
829 <p>Copyright © 2001-2010 Free Software Foundation, Inc.
830 License GPLv3+: GNU GPL version 3 or later
831 <http://gnu.org/licenses/gpl.html><br>
832 This is free software: you are free to change and
833 redistribute it. There is NO WARRANTY, to the extent
834 permitted by law.</p>
837 <a name="SEE ALSO"></a>
840 <table width="100%" border=0 rules="none" frame="void"
841 cols="2" cellspacing="0" cellpadding="0">
842 <tr valign="top" align="left">
843 <td width="10%"></td>
845 <p>The full documentation for <b>msgattrib</b> is maintained
846 as a Texinfo manual. If the <b>info</b> and <b>msgattrib</b>
847 programs are properly installed at your site, the
852 <table width="100%" border=0 rules="none" frame="void"
853 cols="2" cellspacing="0" cellpadding="0">
854 <tr valign="top" align="left">
855 <td width="20%"></td>
857 <p><b>info msgattrib</b></p>
861 <table width="100%" border=0 rules="none" frame="void"
862 cols="2" cellspacing="0" cellpadding="0">
863 <tr valign="top" align="left">
864 <td width="10%"></td>
866 <p>should give you access to the complete manual.</p>