207 lines
6.2 KiB
HTML
207 lines
6.2 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of MSGCAT</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>MSGCAT</H1>
|
|
Section: GNU (1)<BR>Updated: June 2016<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
msgcat - combines several message catalogs
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>msgcat</B>
|
|
|
|
[<I>OPTION</I>] [<I>INPUTFILE</I>]...
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
|
|
<P>
|
|
|
|
Concatenates and merges the specified PO files.
|
|
Find messages which are common to two or more of the specified PO files.
|
|
By using the <B>--more-than</B> option, greater commonality may be requested
|
|
before messages are printed. Conversely, the <B>--less-than</B> option may be
|
|
used to specify less commonality before messages are printed (i.e.
|
|
<B>--less-than</B>=<I>2</I> will only print the unique messages). Translations,
|
|
comments, extracted comments, and file positions will be cumulated, except
|
|
that if <B>--use-first</B> is specified, they will be taken from the first PO file
|
|
to define them.
|
|
<P>
|
|
|
|
Mandatory arguments to long options are mandatory for short options too.
|
|
<A NAME="lbAE"> </A>
|
|
<H3>Input file location:</H3>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1">INPUTFILE ...<DD>
|
|
input files
|
|
<DT id="2"><B>-f</B>, <B>--files-from</B>=<I>FILE</I><DD>
|
|
get list of input files from FILE
|
|
<DT id="3"><B>-D</B>, <B>--directory</B>=<I>DIRECTORY</I><DD>
|
|
add DIRECTORY to list for input files search
|
|
</DL>
|
|
<P>
|
|
|
|
If input file is -, standard input is read.
|
|
<A NAME="lbAF"> </A>
|
|
<H3>Output file location:</H3>
|
|
|
|
<DL COMPACT>
|
|
<DT id="4"><B>-o</B>, <B>--output-file</B>=<I>FILE</I><DD>
|
|
write output to specified file
|
|
</DL>
|
|
<P>
|
|
|
|
The results are written to standard output if no output file is specified
|
|
or if it is -.
|
|
<A NAME="lbAG"> </A>
|
|
<H3>Message selection:</H3>
|
|
|
|
<DL COMPACT>
|
|
<DT id="5">-<, <B>--less-than</B>=<I>NUMBER</I><DD>
|
|
print messages with less than this many
|
|
definitions, defaults to infinite if not set
|
|
<DT id="6">->, <B>--more-than</B>=<I>NUMBER</I><DD>
|
|
print messages with more than this many
|
|
definitions, defaults to 0 if not set
|
|
<DT id="7"><B>-u</B>, <B>--unique</B><DD>
|
|
shorthand for <B>--less-than</B>=<I>2</I>, requests
|
|
that only unique messages be printed
|
|
</DL>
|
|
<A NAME="lbAH"> </A>
|
|
<H3>Input file syntax:</H3>
|
|
|
|
<DL COMPACT>
|
|
<DT id="8"><B>-P</B>, <B>--properties-input</B><DD>
|
|
input files are in Java .properties syntax
|
|
<DT id="9"><B>--stringtable-input</B><DD>
|
|
input files are in NeXTstep/GNUstep .strings
|
|
syntax
|
|
</DL>
|
|
<A NAME="lbAI"> </A>
|
|
<H3>Output details:</H3>
|
|
|
|
<DL COMPACT>
|
|
<DT id="10"><B>-t</B>, <B>--to-code</B>=<I>NAME</I><DD>
|
|
encoding for output
|
|
<DT id="11"><B>--use-first</B><DD>
|
|
use first available translation for each
|
|
message, don't merge several translations
|
|
<DT id="12"><B>--lang</B>=<I>CATALOGNAME</I><DD>
|
|
set 'Language' field in the header entry
|
|
<DT id="13"><B>--color</B><DD>
|
|
use colors and other text attributes always
|
|
<DT id="14"><B>--color</B>=<I>WHEN</I><DD>
|
|
use colors and other text attributes if WHEN.
|
|
WHEN may be 'always', 'never', 'auto', or 'html'.
|
|
<DT id="15"><B>--style</B>=<I>STYLEFILE</I><DD>
|
|
specify CSS style rule file for <B>--color</B>
|
|
<DT id="16"><B>-e</B>, <B>--no-escape</B><DD>
|
|
do not use C escapes in output (default)
|
|
<DT id="17"><B>-E</B>, <B>--escape</B><DD>
|
|
use C escapes in output, no extended chars
|
|
<DT id="18"><B>--force-po</B><DD>
|
|
write PO file even if empty
|
|
<DT id="19"><B>-i</B>, <B>--indent</B><DD>
|
|
write the .po file using indented style
|
|
<DT id="20"><B>--no-location</B><DD>
|
|
do not write '#: filename:line' lines
|
|
<DT id="21"><B>-n</B>, <B>--add-location</B><DD>
|
|
generate '#: filename:line' lines (default)
|
|
<DT id="22"><B>--strict</B><DD>
|
|
write out strict Uniforum conforming .po file
|
|
<DT id="23"><B>-p</B>, <B>--properties-output</B><DD>
|
|
write out a Java .properties file
|
|
<DT id="24"><B>--stringtable-output</B><DD>
|
|
write out a NeXTstep/GNUstep .strings file
|
|
<DT id="25"><B>-w</B>, <B>--width</B>=<I>NUMBER</I><DD>
|
|
set output page width
|
|
<DT id="26"><B>--no-wrap</B><DD>
|
|
do not break long message lines, longer than
|
|
the output page width, into several lines
|
|
<DT id="27"><B>-s</B>, <B>--sort-output</B><DD>
|
|
generate sorted output
|
|
<DT id="28"><B>-F</B>, <B>--sort-by-file</B><DD>
|
|
sort output by file location
|
|
</DL>
|
|
<A NAME="lbAJ"> </A>
|
|
<H3>Informative output:</H3>
|
|
|
|
<DL COMPACT>
|
|
<DT id="29"><B>-h</B>, <B>--help</B><DD>
|
|
display this help and exit
|
|
<DT id="30"><B>-V</B>, <B>--version</B><DD>
|
|
output version information and exit
|
|
</DL>
|
|
<A NAME="lbAK"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Written by Bruno Haible.
|
|
<A NAME="lbAL"> </A>
|
|
<H2>REPORTING BUGS</H2>
|
|
|
|
Report bugs to <<A HREF="mailto:bug-gnu-gettext@gnu.org">bug-gnu-gettext@gnu.org</A>>.
|
|
<A NAME="lbAM"> </A>
|
|
<H2>COPYRIGHT</H2>
|
|
|
|
Copyright © 2001-2016 Free Software Foundation, Inc.
|
|
License GPLv3+: GNU GPL version 3 or later <<A HREF="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</A>>
|
|
<BR>
|
|
|
|
This is free software: you are free to change and redistribute it.
|
|
There is NO WARRANTY, to the extent permitted by law.
|
|
<A NAME="lbAN"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
The full documentation for
|
|
<B>msgcat</B>
|
|
|
|
is maintained as a Texinfo manual. If the
|
|
<B>info</B>
|
|
|
|
and
|
|
<B>msgcat</B>
|
|
|
|
programs are properly installed at your site, the command
|
|
<DL COMPACT>
|
|
<DT id="31"><DD>
|
|
<B>info msgcat</B>
|
|
|
|
</DL>
|
|
<P>
|
|
|
|
should give you access to the complete manual.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="32"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="33"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="34"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DL>
|
|
<DT id="35"><A HREF="#lbAE">Input file location:</A><DD>
|
|
<DT id="36"><A HREF="#lbAF">Output file location:</A><DD>
|
|
<DT id="37"><A HREF="#lbAG">Message selection:</A><DD>
|
|
<DT id="38"><A HREF="#lbAH">Input file syntax:</A><DD>
|
|
<DT id="39"><A HREF="#lbAI">Output details:</A><DD>
|
|
<DT id="40"><A HREF="#lbAJ">Informative output:</A><DD>
|
|
</DL>
|
|
<DT id="41"><A HREF="#lbAK">AUTHOR</A><DD>
|
|
<DT id="42"><A HREF="#lbAL">REPORTING BUGS</A><DD>
|
|
<DT id="43"><A HREF="#lbAM">COPYRIGHT</A><DD>
|
|
<DT id="44"><A HREF="#lbAN">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:19 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|