NAME
msgcat - combines several message catalogs
SYNOPSIS
msgcat
[_O_P_T_I_O_N] [_I_N_P_U_T_F_I_L_E]...
DESCRIPTION
Concatenates and merges the specified PO files.
Find messages which are common to two or more of the specified PO files.
By using the ----mmoorree--tthhaann option, greater commonality may be requested
before messages are printed. Conversely, the ----lleessss--tthhaann option may be
used to specify less commonality before messages are printed (i.e.
----lleessss--tthhaann=_2 will only print the unique messages). Translations,
comments and extract comments will be cumulated, except that if ----uussee--ffiirrsstt
is specified, they will be taken from the first PO file to define them.
File positions from all PO files will be cumulated.
Mandatory arguments to long options are mandatory for short options too.
-
INPUTFILE ...
-
input files
-
--ff, ----ffiilleess--ffrroomm=_F_I_L_E
-
get list of input files from FILE
-
--DD, ----ddiirreeccttoorryy=_D_I_R_E_C_T_O_R_Y
-
add DIRECTORY to list for input files search
If input file is -, standard input is read.
Output file location:
-
--oo, ----oouuttppuutt--ffiillee=_F_I_L_E
-
write output to specified file
The results are written to standard output if no output file is specified
or if it is -.
Message selection:
-
-<, ----lleessss--tthhaann=_N_U_M_B_E_R
-
print messages with less than this many
definitions, defaults to infinite if not set
-
->, ----mmoorree--tthhaann=_N_U_M_B_E_R
-
print messages with more than this many
definitions, defaults to 0 if not set
-
--uu, ----uunniiqquuee
-
shorthand for ----lleessss--tthhaann=_2, requests
that only unique messages be printed
-
--PP, ----pprrooppeerrttiieess--iinnppuutt
-
input files are in Java .properties syntax
-
----ssttrriinnggttaabbllee--iinnppuutt
-
input files are in NeXTstep/GNUstep .strings
syntax
Output details:
-
--tt, ----ttoo--ccooddee=_N_A_M_E
-
encoding for output
-
----uussee--ffiirrsstt
-
use first available translation for each
message, don't merge several translations
-
--ee, ----nnoo--eessccaappee
-
do not use C escapes in output (default)
-
--EE, ----eessccaappee
-
use C escapes in output, no extended chars
-
----ffoorrccee--ppoo
-
write PO file even if empty
-
--ii, ----iinnddeenntt
-
write the .po file using indented style
-
----nnoo--llooccaattiioonn
-
do not write '#: filename:line' lines
-
--nn, ----aadddd--llooccaattiioonn
-
generate '#: filename:line' lines (default)
-
----ssttrriicctt
-
write out strict Uniforum conforming .po file
-
--pp, ----pprrooppeerrttiieess--oouuttppuutt
-
write out a Java .properties file
-
----ssttrriinnggttaabbllee--oouuttppuutt
-
write out a NeXTstep/GNUstep .strings file
-
--ww, ----wwiiddtthh=_N_U_M_B_E_R
-
set output page width
-
----nnoo--wwrraapp
-
do not break long message lines, longer than
the output page width, into several lines
-
--ss, ----ssoorrtt--oouuttppuutt
-
generate sorted output
-
--FF, ----ssoorrtt--bbyy--ffiillee
-
sort output by file location
-
--hh, ----hheellpp
-
display this help and exit
-
--VV, ----vveerrssiioonn
-
output version information and exit
AUTHOR
Written by Bruno Haible.
REPORTING BUGS
Report bugs to .
COPYRIGHT
Copyright © 2001-2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
SEE ALSO
The full documentation for
msgcat
is maintained as a Texinfo manual. If the
info
and
msgcat
programs are properly installed at your site, the command
-
info msgcat
-
should give you access to the complete manual.