Debian Codegraph @

upstream/debian-unstable/man1/msguniq.1

raw
1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6.
2 .TH MSGUNIQ "1" "July 2025" "GNU gettext-tools 0.26" "User Commands"
3 .SH NAME
4 msguniq \- unify duplicate translations in message catalog
5 .SH SYNOPSIS
6 .B msguniq
7 [\fI\,OPTION\/\fR] [\fI\,INPUTFILE\/\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=\fI\,DIRECTORY\/\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=\fI\,FILE\/\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=\fI\,NAME\/\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=\fI\,WHEN\/\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=\fI\,STYLEFILE\/\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=\fI\,NUMBER\/\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
103 .TP
104 \fB\-s\fR, \fB\-\-sort\-output\fR
105 generate sorted output
106 .TP
107 \fB\-F\fR, \fB\-\-sort\-by\-file\fR
108 sort output by file location
109 .SS "Informative output:"
110 .TP
111 \fB\-h\fR, \fB\-\-help\fR
112 display this help and exit
113 .TP
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 in the bug tracker at <https://savannah.gnu.org/projects/gettext>
120 or by email to <bug\[email protected]>.
121 .SH COPYRIGHT
122 Copyright \(co 2001\-2025 Free Software Foundation, Inc.
123 License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
124 .br
125 This is free software: you are free to change and redistribute it.
126 There is NO WARRANTY, to the extent permitted by law.
127 .SH "SEE ALSO"
128 The full documentation for
129 .B msguniq
130 is maintained as a Texinfo manual. If the
131 .B info
132 and
133 .B msguniq
134 programs are properly installed at your site, the command
135 .IP
136 .B info msguniq
137 .PP
138 should give you access to the complete manual.