Imported Upstream version 0.19.7
[platform/upstream/gettext.git] / gettext-tools / man / msguniq.1.html
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>MSGUNIQ</title>
16
17 </head>
18 <body>
19
20 <h1 align="center">MSGUNIQ</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">msguniq &minus;
39 unify duplicate translations in message catalog</p>
40
41 <h2>SYNOPSIS
42 <a name="SYNOPSIS"></a>
43 </h2>
44
45
46 <p style="margin-left:11%; margin-top: 1em"><b>msguniq</b>
47 [<i>OPTION</i>] [<i>INPUTFILE</i>]</p>
48
49 <h2>DESCRIPTION
50 <a name="DESCRIPTION"></a>
51 </h2>
52
53
54 <p style="margin-left:11%; margin-top: 1em">Unifies
55 duplicate translations in a translation catalog. Finds
56 duplicate translations of the same message ID. Such
57 duplicates are invalid input for other programs like msgfmt,
58 msgmerge or msgcat. By default, duplicates are merged
59 together. When using the <b>&minus;&minus;repeated</b>
60 option, only duplicates are output, and all other messages
61 are discarded. Comments and extracted comments will be
62 cumulated, except that if
63 <b>&minus;&minus;use&minus;first</b> is specified, they will
64 be taken from the first translation. File positions will be
65 cumulated. When using the <b>&minus;&minus;unique</b>
66 option, duplicates are discarded.</p>
67
68 <p style="margin-left:11%; margin-top: 1em">Mandatory
69 arguments to long options are mandatory for short options
70 too.</p>
71
72 <p style="margin-left:11%; margin-top: 1em"><b>Input file
73 location:</b> <br>
74 INPUTFILE</p>
75
76 <p style="margin-left:22%;">input PO file</p>
77
78 <p style="margin-left:11%;"><b>&minus;D</b>,
79 <b>&minus;&minus;directory</b>=<i>DIRECTORY</i></p>
80
81 <p style="margin-left:22%;">add DIRECTORY to list for input
82 files search</p>
83
84 <p style="margin-left:11%; margin-top: 1em">If no input
85 file is given or if it is -, standard input is read.</p>
86
87 <p style="margin-left:11%; margin-top: 1em"><b>Output file
88 location: <br>
89 &minus;o</b>,
90 <b>&minus;&minus;output&minus;file</b>=<i>FILE</i></p>
91
92 <p style="margin-left:22%;">write output to specified
93 file</p>
94
95 <p style="margin-left:11%; margin-top: 1em">The results are
96 written to standard output if no output file is specified or
97 if it is -.</p>
98
99 <p style="margin-left:11%; margin-top: 1em"><b>Message
100 selection: <br>
101 &minus;d</b>, <b>&minus;&minus;repeated</b></p>
102
103 <p style="margin-left:22%;">print only duplicates</p>
104
105 <p style="margin-left:11%;"><b>&minus;u</b>,
106 <b>&minus;&minus;unique</b></p>
107
108 <p style="margin-left:22%;">print only unique messages,
109 discard duplicates</p>
110
111 <p style="margin-left:11%; margin-top: 1em"><b>Input file
112 syntax: <br>
113 &minus;P</b>,
114 <b>&minus;&minus;properties&minus;input</b></p>
115
116 <p style="margin-left:22%;">input file is in Java
117 .properties syntax</p>
118
119
120 <p style="margin-left:11%;"><b>&minus;&minus;stringtable&minus;input</b></p>
121
122 <p style="margin-left:22%;">input file is in
123 NeXTstep/GNUstep .strings syntax</p>
124
125 <p style="margin-left:11%; margin-top: 1em"><b>Output
126 details: <br>
127 &minus;t</b>,
128 <b>&minus;&minus;to&minus;code</b>=<i>NAME</i></p>
129
130 <p style="margin-left:22%;">encoding for output</p>
131
132
133 <p style="margin-left:11%;"><b>&minus;&minus;use&minus;first</b></p>
134
135 <p style="margin-left:22%;">use first available translation
136 for each message, don&rsquo;t merge several translations</p>
137
138 <p style="margin-left:11%;"><b>&minus;&minus;color</b></p>
139
140 <p style="margin-left:22%;">use colors and other text
141 attributes always</p>
142
143
144 <p style="margin-left:11%;"><b>&minus;&minus;color</b>=<i>WHEN</i></p>
145
146 <p style="margin-left:22%;">use colors and other text
147 attributes if WHEN. WHEN may be &rsquo;always&rsquo;,
148 &rsquo;never&rsquo;, &rsquo;auto&rsquo;, or
149 &rsquo;html&rsquo;.</p>
150
151
152 <p style="margin-left:11%;"><b>&minus;&minus;style</b>=<i>STYLEFILE</i></p>
153
154 <p style="margin-left:22%;">specify CSS style rule file for
155 <b>&minus;&minus;color</b></p>
156
157 <p style="margin-left:11%;"><b>&minus;e</b>,
158 <b>&minus;&minus;no&minus;escape</b></p>
159
160 <p style="margin-left:22%;">do not use C escapes in output
161 (default)</p>
162
163 <p style="margin-left:11%;"><b>&minus;E</b>,
164 <b>&minus;&minus;escape</b></p>
165
166 <p style="margin-left:22%;">use C escapes in output, no
167 extended chars</p>
168
169
170 <p style="margin-left:11%;"><b>&minus;&minus;force&minus;po</b></p>
171
172 <p style="margin-left:22%;">write PO file even if empty</p>
173
174 <p style="margin-left:11%;"><b>&minus;i</b>,
175 <b>&minus;&minus;indent</b></p>
176
177 <p style="margin-left:22%;">write the .po file using
178 indented style</p>
179
180
181 <p style="margin-left:11%;"><b>&minus;&minus;no&minus;location</b></p>
182
183 <p style="margin-left:22%;">do not write &rsquo;#:
184 filename:line&rsquo; lines</p>
185
186 <p style="margin-left:11%;"><b>&minus;n</b>,
187 <b>&minus;&minus;add&minus;location</b></p>
188
189 <p style="margin-left:22%;">generate &rsquo;#:
190 filename:line&rsquo; lines (default)</p>
191
192
193 <p style="margin-left:11%;"><b>&minus;&minus;strict</b></p>
194
195 <p style="margin-left:22%;">write out strict Uniforum
196 conforming .po file</p>
197
198 <p style="margin-left:11%;"><b>&minus;p</b>,
199 <b>&minus;&minus;properties&minus;output</b></p>
200
201 <p style="margin-left:22%;">write out a Java .properties
202 file</p>
203
204
205 <p style="margin-left:11%;"><b>&minus;&minus;stringtable&minus;output</b></p>
206
207 <p style="margin-left:22%;">write out a NeXTstep/GNUstep
208 .strings file</p>
209
210 <p style="margin-left:11%;"><b>&minus;w</b>,
211 <b>&minus;&minus;width</b>=<i>NUMBER</i></p>
212
213 <p style="margin-left:22%;">set output page width</p>
214
215
216 <p style="margin-left:11%;"><b>&minus;&minus;no&minus;wrap</b></p>
217
218 <p style="margin-left:22%;">do not break long message
219 lines, longer than the output page width, into several
220 lines</p>
221
222 <p style="margin-left:11%;"><b>&minus;s</b>,
223 <b>&minus;&minus;sort&minus;output</b></p>
224
225 <p style="margin-left:22%;">generate sorted output</p>
226
227 <p style="margin-left:11%;"><b>&minus;F</b>,
228 <b>&minus;&minus;sort&minus;by&minus;file</b></p>
229
230 <p style="margin-left:22%;">sort output by file
231 location</p>
232
233 <p style="margin-left:11%; margin-top: 1em"><b>Informative
234 output: <br>
235 &minus;h</b>, <b>&minus;&minus;help</b></p>
236
237 <p style="margin-left:22%;">display this help and exit</p>
238
239 <p style="margin-left:11%;"><b>&minus;V</b>,
240 <b>&minus;&minus;version</b></p>
241
242 <p style="margin-left:22%;">output version information and
243 exit</p>
244
245 <h2>AUTHOR
246 <a name="AUTHOR"></a>
247 </h2>
248
249
250 <p style="margin-left:11%; margin-top: 1em">Written by
251 Bruno Haible.</p>
252
253 <h2>REPORTING BUGS
254 <a name="REPORTING BUGS"></a>
255 </h2>
256
257
258 <p style="margin-left:11%; margin-top: 1em">Report bugs to
259 &lt;bug-gnu-gettext@gnu.org&gt;.</p>
260
261 <h2>COPYRIGHT
262 <a name="COPYRIGHT"></a>
263 </h2>
264
265
266 <p style="margin-left:11%; margin-top: 1em">Copyright
267 &copy; 2001-2010 Free Software Foundation, Inc. License
268 GPLv3+: GNU GPL version 3 or later
269 &lt;http://gnu.org/licenses/gpl.html&gt; <br>
270 This is free software: you are free to change and
271 redistribute it. There is NO WARRANTY, to the extent
272 permitted by law.</p>
273
274 <h2>SEE ALSO
275 <a name="SEE ALSO"></a>
276 </h2>
277
278
279 <p style="margin-left:11%; margin-top: 1em">The full
280 documentation for <b>msguniq</b> is maintained as a Texinfo
281 manual. If the <b>info</b> and <b>msguniq</b> programs are
282 properly installed at your site, the command</p>
283
284 <p style="margin-left:22%; margin-top: 1em"><b>info
285 msguniq</b></p>
286
287 <p style="margin-left:11%; margin-top: 1em">should give you
288 access to the complete manual.</p>
289 <hr>
290 </body>
291 </html>