1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24.
2 .TH MSGATTRIB "1" "January 2014" "GNU gettext-tools 0.18.3" GNU
4 msgattrib \- attribute matching and manipulation on message catalog
7 [\fIOPTION\fR] [\fIINPUTFILE\fR]
9 .\" Add any additional description here
11 Filters the messages of a translation catalog according to their attributes,
12 and manipulates the attributes.
14 Mandatory arguments to long options are mandatory for short options too.
15 .SS "Input file location:"
20 \fB\-D\fR, \fB\-\-directory\fR=\fIDIRECTORY\fR
21 add DIRECTORY to list for input files search
23 If no input file is given or if it is -, standard input is read.
24 .SS "Output file location:"
26 \fB\-o\fR, \fB\-\-output\-file\fR=\fIFILE\fR
27 write output to specified file
29 The results are written to standard output if no output file is specified
31 .SS "Message selection:"
34 keep translated, remove untranslated messages
36 \fB\-\-untranslated\fR
37 keep untranslated, remove translated messages
40 remove 'fuzzy' marked messages
43 keep 'fuzzy' marked messages
45 \fB\-\-no\-obsolete\fR
46 remove obsolete #~ messages
48 \fB\-\-only\-obsolete\fR
49 keep obsolete #~ messages
50 .SS "Attribute manipulation:"
53 set all messages 'fuzzy'
55 \fB\-\-clear\-fuzzy\fR
56 set all messages non-'fuzzy'
58 \fB\-\-set\-obsolete\fR
59 set all messages obsolete
61 \fB\-\-clear\-obsolete\fR
62 set all messages non-obsolete
65 when setting 'fuzzy', keep previous msgids
66 of translated messages.
68 \fB\-\-clear\-previous\fR
69 remove the "previous msgid" from all messages
71 \fB\-\-only\-file\fR=\fIFILE\fR.po
72 manipulate only entries listed in FILE.po
74 \fB\-\-ignore\-file\fR=\fIFILE\fR.po
75 manipulate only entries not listed in FILE.po
78 synonym for \fB\-\-only\-fuzzy\fR \fB\-\-clear\-fuzzy\fR
81 synonym for \fB\-\-only\-obsolete\fR \fB\-\-clear\-obsolete\fR
82 .SS "Input file syntax:"
84 \fB\-P\fR, \fB\-\-properties\-input\fR
85 input file is in Java .properties syntax
87 \fB\-\-stringtable\-input\fR
88 input file is in NeXTstep/GNUstep .strings syntax
92 use colors and other text attributes always
94 \fB\-\-color\fR=\fIWHEN\fR
95 use colors and other text attributes if WHEN.
96 WHEN may be 'always', 'never', 'auto', or 'html'.
98 \fB\-\-style\fR=\fISTYLEFILE\fR
99 specify CSS style rule file for \fB\-\-color\fR
101 \fB\-e\fR, \fB\-\-no\-escape\fR
102 do not use C escapes in output (default)
104 \fB\-E\fR, \fB\-\-escape\fR
105 use C escapes in output, no extended chars
108 write PO file even if empty
110 \fB\-i\fR, \fB\-\-indent\fR
111 write the .po file using indented style
113 \fB\-\-no\-location\fR
114 do not write '#: filename:line' lines
116 \fB\-n\fR, \fB\-\-add\-location\fR
117 generate '#: filename:line' lines (default)
120 write out strict Uniforum conforming .po file
122 \fB\-p\fR, \fB\-\-properties\-output\fR
123 write out a Java .properties file
125 \fB\-\-stringtable\-output\fR
126 write out a NeXTstep/GNUstep .strings file
128 \fB\-w\fR, \fB\-\-width\fR=\fINUMBER\fR
129 set output page width
132 do not break long message lines, longer than
133 the output page width, into several lines
135 \fB\-s\fR, \fB\-\-sort\-output\fR
136 generate sorted output
138 \fB\-F\fR, \fB\-\-sort\-by\-file\fR
139 sort output by file location
140 .SS "Informative output:"
142 \fB\-h\fR, \fB\-\-help\fR
143 display this help and exit
145 \fB\-V\fR, \fB\-\-version\fR
146 output version information and exit
148 Written by Bruno Haible.
150 Report bugs to <bug-gnu-gettext@gnu.org>.
152 Copyright \(co 2001-2010 Free Software Foundation, Inc.
153 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
155 This is free software: you are free to change and redistribute it.
156 There is NO WARRANTY, to the extent permitted by law.
158 The full documentation for
160 is maintained as a Texinfo manual. If the
164 programs are properly installed at your site, the command
168 should give you access to the complete manual.