MSGCAT(1) GNU MSGCAT(1)
NAME
msgcat(1,n) - combines several message catalogs
SYNOPSIS
msgcat(1,n) [OPTION] [INPUTFILE]...
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
--more-than option, greater commonality may be requested before mes-
sages are printed. Conversely, the --less-than option may be used to
specify less(1,3) commonality before messages are printed (i.e.
--less-than=2 will only print the unique messages). Translations, com-
ments and extract comments will be cumulated, except that if(3,n)
--use-first is specified, they will be taken from the first PO file(1,n) to
define them. File positions from all PO files will be cumulated.
Mandatory arguments to long options are mandatory for short options
too.
Input file(1,n) location:
INPUTFILE ...
input files
-f, --files-from=FILE
get list of input files from FILE
-D, --directory=DIRECTORY
add DIRECTORY to list for input files search
If input file(1,n) is -, standard input is read.
Output file(1,n) location:
-o, --output-file=FILE
write(1,2) output to specified file(1,n)
The results are written to standard output if(3,n) no output file(1,n) is speci-
fied or if(3,n) it is -.
Message selection:
-<, --less-than=NUMBER
print messages with less(1,3) than this many definitions, defaults to
infinite if(3,n) not set(7,n,1 builtins)
->, --more-than=NUMBER
print messages with more than this many definitions, defaults to
0 if(3,n) not set(7,n,1 builtins)
-u, --unique
shorthand for --less-than=2, requests that only unique messages
be printed
Input file(1,n) syntax:
-P, --properties-input
input files are in(1,8) Java .properties syntax
--stringtable-input
input files are in(1,8) NeXTstep/GNUstep .strings syntax
Output details:
-t, --to-code=NAME
encoding(3,n) for output
--use-first
use first available translation for each message, don't merge(1,8)
several translations
-e, --no-escape
do not use C escapes in(1,8) output (default)
-E, --escape
use C escapes in(1,8) output, no extended chars
--force-po
write(1,2) PO file(1,n) even if(3,n) empty
-i, --indent
write(1,2) the .po file(1,n) using indented style
--no-location
do not write(1,2) '#: filename:line' lines
-n, --add-location
generate '#: filename:line' lines (default)
--strict
write(1,2) out strict Uniforum conforming .po file(1,n)
-p, --properties-output
write(1,2) out a Java .properties file(1,n)
--stringtable-output
write(1,2) out a NeXTstep/GNUstep .strings file(1,n)
-w, --width=NUMBER
set(7,n,1 builtins) output page width
--no-wrap
do not break long message lines, longer than the output page
width, into several lines
-s, --sort-output
generate sorted output
-F, --sort-by-file
sort(1,3) output by file(1,n) location
Informative output:
-h, --help
display this help and exit(3,n,1 builtins)
-V, --version
output version(1,3,5) information and exit(3,n,1 builtins)
AUTHOR
Written by Bruno Haible.
REPORTING BUGS
Report bugs to <bug-gnu-gettext@gnu.org>.
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(1,n) is maintained as a Texinfo manual.
If the info(1,5,n) and msgcat(1,n) programs are properly installed at your site,
the command
info(1,5,n) msgcat(1,n)
should give you access(2,5) to the complete manual.
GNU gettext-tools 0.14.4 April 2005 MSGCAT(1)