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
4 msguniq \- unify duplicate translations in message catalog
7 [\fIOPTION\fR] [\fIINPUTFILE\fR]
9 .\" Add any additional description here
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.
20 Mandatory arguments to long options are mandatory for short options too.
21 .SS "Input file location:"
26 \fB\-D\fR, \fB\-\-directory\fR=\fIDIRECTORY\fR
27 add DIRECTORY to list for input files search
29 If no input file is given or if it is -, standard input is read.
30 .SS "Output file location:"
32 \fB\-o\fR, \fB\-\-output\-file\fR=\fIFILE\fR
33 write output to specified file
35 The results are written to standard output if no output file is specified
37 .SS "Message selection:"
39 \fB\-d\fR, \fB\-\-repeated\fR
42 \fB\-u\fR, \fB\-\-unique\fR
43 print only unique messages, discard duplicates
44 .SS "Input file syntax:"
46 \fB\-P\fR, \fB\-\-properties\-input\fR
47 input file is in Java .properties syntax
49 \fB\-\-stringtable\-input\fR
50 input file is in NeXTstep/GNUstep .strings syntax
53 \fB\-t\fR, \fB\-\-to\-code\fR=\fINAME\fR
57 use first available translation for each
58 message, don't merge several translations
61 use colors and other text attributes always
63 \fB\-\-color\fR=\fIWHEN\fR
64 use colors and other text attributes if WHEN.
65 WHEN may be 'always', 'never', 'auto', or 'html'.
67 \fB\-\-style\fR=\fISTYLEFILE\fR
68 specify CSS style rule file for \fB\-\-color\fR
70 \fB\-e\fR, \fB\-\-no\-escape\fR
71 do not use C escapes in output (default)
73 \fB\-E\fR, \fB\-\-escape\fR
74 use C escapes in output, no extended chars
77 write PO file even if empty
79 \fB\-i\fR, \fB\-\-indent\fR
80 write the .po file using indented style
82 \fB\-\-no\-location\fR
83 do not write '#: filename:line' lines
85 \fB\-n\fR, \fB\-\-add\-location\fR
86 generate '#: filename:line' lines (default)
89 write out strict Uniforum conforming .po file
91 \fB\-p\fR, \fB\-\-properties\-output\fR
92 write out a Java .properties file
94 \fB\-\-stringtable\-output\fR
95 write out a NeXTstep/GNUstep .strings file
97 \fB\-w\fR, \fB\-\-width\fR=\fINUMBER\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
117 Written by Bruno Haible.
119 Report bugs to <bug-gnu-gettext@gnu.org>.
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.
127 The full documentation for
129 is maintained as a Texinfo manual. If the
133 programs are properly installed at your site, the command
137 should give you access to the complete manual.