1MSGCAT(1) GNU MSGCAT(1)
2
3
4
6 msgcat - combines several message catalogs
7
9 msgcat [OPTION] [INPUTFILE]...
10
12 Concatenates and merges the specified PO files. Find messages which
13 are common to two or more of the specified PO files. By using the
14 --more-than option, greater commonality may be requested before mes‐
15 sages are printed. Conversely, the --less-than option may be used to
16 specify less commonality before messages are printed (i.e.
17 --less-than=2 will only print the unique messages). Translations, com‐
18 ments and extract comments will be cumulated, except that if
19 --use-first is specified, they will be taken from the first PO file to
20 define them. File positions from all PO files will be cumulated.
21
22 Mandatory arguments to long options are mandatory for short options
23 too.
24
25 Input file location:
26 INPUTFILE ...
27 input files
28
29 -f, --files-from=FILE
30 get list of input files from FILE
31
32 -D, --directory=DIRECTORY
33 add DIRECTORY to list for input files search
34
35 If input file is -, standard input is read.
36
37 Output file location:
38 -o, --output-file=FILE
39 write output to specified file
40
41 The results are written to standard output if no output file is speci‐
42 fied or if it is -.
43
44 Message selection:
45 -<, --less-than=NUMBER
46 print messages with less than this many definitions, defaults to
47 infinite if not set
48
49 ->, --more-than=NUMBER
50 print messages with more than this many definitions, defaults to
51 0 if not set
52
53 -u, --unique
54 shorthand for --less-than=2, requests that only unique messages
55 be printed
56
57 Input file syntax:
58 -P, --properties-input
59 input files are in Java .properties syntax
60
61 --stringtable-input
62 input files are in NeXTstep/GNUstep .strings syntax
63
64 Output details:
65 -t, --to-code=NAME
66 encoding for output
67
68 --use-first
69 use first available translation for each message, don't merge
70 several translations
71
72 --color
73 use colors and other text attributes always
74
75 --color=WHEN
76 use colors and other text attributes if WHEN. WHEN may be
77 'always', 'never', 'auto', or 'html'.
78
79 --style=STYLEFILE
80 specify CSS style rule file for --color
81
82 -e, --no-escape
83 do not use C escapes in output (default)
84
85 -E, --escape
86 use C escapes in output, no extended chars
87
88 --force-po
89 write PO file even if empty
90
91 -i, --indent
92 write the .po file using indented style
93
94 --no-location
95 do not write '#: filename:line' lines
96
97 -n, --add-location
98 generate '#: filename:line' lines (default)
99
100 --strict
101 write out strict Uniforum conforming .po file
102
103 -p, --properties-output
104 write out a Java .properties file
105
106 --stringtable-output
107 write out a NeXTstep/GNUstep .strings file
108
109 -w, --width=NUMBER
110 set output page width
111
112 --no-wrap
113 do not break long message lines, longer than the output page
114 width, into several lines
115
116 -s, --sort-output
117 generate sorted output
118
119 -F, --sort-by-file
120 sort output by file location
121
122 Informative output:
123 -h, --help
124 display this help and exit
125
126 -V, --version
127 output version information and exit
128
130 Written by Bruno Haible.
131
133 Report bugs to <bug-gnu-gettext@gnu.org>.
134
136 Copyright © 2001-2007 Free Software Foundation, Inc. License GPLv3+:
137 GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
138 This is free software: you are free to change and redistribute it.
139 There is NO WARRANTY, to the extent permitted by law.
140
142 The full documentation for msgcat is maintained as a Texinfo manual.
143 If the info and msgcat programs are properly installed at your site,
144 the command
145
146 info msgcat
147
148 should give you access to the complete manual.
149
150
151
152GNU gettext-tools 0.17 November 2007 MSGCAT(1)