Install gettext-0.18.1.1.tar.gz
[msysgit.git] / mingw / share / man / man1 / msguniq.1
blob37a9792e0815b7b434dd850eaa4e5d3b8d1040b8
1 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.24.
2 .TH MSGUNIQ "1" "June 2010" "GNU gettext-tools 0.18.1" GNU
3 .SH NAME
4 msguniq \- unify duplicate translations in message catalog
5 .SH SYNOPSIS
6 .B msguniq
7 [\fIOPTION\fR] [\fIINPUTFILE\fR]
8 .SH DESCRIPTION
9 .\" Add any additional description here
10 .PP
11 Unifies duplicate translations in a translation catalog.
12 Finds duplicate translations of the same message ID.  Such duplicates are
13 invalid input for other programs like msgfmt, msgmerge or msgcat.  By
14 default, duplicates are merged together.  When using the \fB\-\-repeated\fR option,
15 only duplicates are output, and all other messages are discarded.  Comments
16 and extracted comments will be cumulated, except that if \fB\-\-use\-first\fR is
17 specified, they will be taken from the first translation.  File positions
18 will be cumulated.  When using the \fB\-\-unique\fR option, duplicates are discarded.
19 .PP
20 Mandatory arguments to long options are mandatory for short options too.
21 .SS "Input file location:"
22 .TP
23 INPUTFILE
24 input PO file
25 .TP
26 \fB\-D\fR, \fB\-\-directory\fR=\fIDIRECTORY\fR
27 add DIRECTORY to list for input files search
28 .PP
29 If no input file is given or if it is -, standard input is read.
30 .SS "Output file location:"
31 .TP
32 \fB\-o\fR, \fB\-\-output\-file\fR=\fIFILE\fR
33 write output to specified file
34 .PP
35 The results are written to standard output if no output file is specified
36 or if it is -.
37 .SS "Message selection:"
38 .TP
39 \fB\-d\fR, \fB\-\-repeated\fR
40 print only duplicates
41 .TP
42 \fB\-u\fR, \fB\-\-unique\fR
43 print only unique messages, discard duplicates
44 .SS "Input file syntax:"
45 .TP
46 \fB\-P\fR, \fB\-\-properties\-input\fR
47 input file is in Java .properties syntax
48 .TP
49 \fB\-\-stringtable\-input\fR
50 input file is in NeXTstep/GNUstep .strings syntax
51 .SS "Output details:"
52 .TP
53 \fB\-t\fR, \fB\-\-to\-code\fR=\fINAME\fR
54 encoding for output
55 .TP
56 \fB\-\-use\-first\fR
57 use first available translation for each
58 message, don't merge several translations
59 .TP
60 \fB\-\-color\fR
61 use colors and other text attributes always
62 .TP
63 \fB\-\-color\fR=\fIWHEN\fR
64 use colors and other text attributes if WHEN.
65 WHEN may be 'always', 'never', 'auto', or 'html'.
66 .TP
67 \fB\-\-style\fR=\fISTYLEFILE\fR
68 specify CSS style rule file for \fB\-\-color\fR
69 .TP
70 \fB\-e\fR, \fB\-\-no\-escape\fR
71 do not use C escapes in output (default)
72 .TP
73 \fB\-E\fR, \fB\-\-escape\fR
74 use C escapes in output, no extended chars
75 .TP
76 \fB\-\-force\-po\fR
77 write PO file even if empty
78 .TP
79 \fB\-i\fR, \fB\-\-indent\fR
80 write the .po file using indented style
81 .TP
82 \fB\-\-no\-location\fR
83 do not write '#: filename:line' lines
84 .TP
85 \fB\-n\fR, \fB\-\-add\-location\fR
86 generate '#: filename:line' lines (default)
87 .TP
88 \fB\-\-strict\fR
89 write out strict Uniforum conforming .po file
90 .TP
91 \fB\-p\fR, \fB\-\-properties\-output\fR
92 write out a Java .properties file
93 .TP
94 \fB\-\-stringtable\-output\fR
95 write out a NeXTstep/GNUstep .strings file
96 .TP
97 \fB\-w\fR, \fB\-\-width\fR=\fINUMBER\fR
98 set output page width
99 .TP
100 \fB\-\-no\-wrap\fR
101 do not break long message lines, longer than
102 the output page width, into several lines
104 \fB\-s\fR, \fB\-\-sort\-output\fR
105 generate sorted output
107 \fB\-F\fR, \fB\-\-sort\-by\-file\fR
108 sort output by file location
109 .SS "Informative output:"
111 \fB\-h\fR, \fB\-\-help\fR
112 display this help and exit
114 \fB\-V\fR, \fB\-\-version\fR
115 output version information and exit
116 .SH AUTHOR
117 Written by Bruno Haible.
118 .SH "REPORTING BUGS"
119 Report bugs to <bug-gnu-gettext@gnu.org>.
120 .SH COPYRIGHT
121 Copyright \(co 2001-2010 Free Software Foundation, Inc.
122 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
124 This is free software: you are free to change and redistribute it.
125 There is NO WARRANTY, to the extent permitted by law.
126 .SH "SEE ALSO"
127 The full documentation for
128 .B msguniq
129 is maintained as a Texinfo manual.  If the
130 .B info
132 .B msguniq
133 programs are properly installed at your site, the command
135 .B info msguniq
137 should give you access to the complete manual.