| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6. |
| 2 |
.TH MSGCOMM "1" "July 2025" "GNU gettext-tools 0.26" "User Commands" |
| 3 |
.SH NAME |
| 4 |
msgcomm \- match two message catalogs |
| 5 |
.SH SYNOPSIS |
| 6 |
.B msgcomm |
| 7 |
[\fI\,OPTION\/\fR] [\fI\,INPUTFILE\/\fR]... |
| 8 |
.SH DESCRIPTION |
| 9 |
.\" Add any additional description here |
| 10 |
.PP |
| 11 |
Find messages which are common to two or more of the specified PO files. |
| 12 |
By using the \fB\-\-more\-than\fR option, greater commonality may be requested |
| 13 |
before messages are printed. Conversely, the \fB\-\-less\-than\fR option may be |
| 14 |
used to specify less commonality before messages are printed (i.e. |
| 15 |
\fB\-\-less\-than\fR=\fI\,2\/\fR will only print the unique messages). Translations, |
| 16 |
comments and extracted comments will be preserved, but only from the first |
| 17 |
PO file to define them. File positions from all PO files will be |
| 18 |
cumulated. |
| 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 files |
| 25 |
.TP |
| 26 |
\fB\-f\fR, \fB\-\-files\-from\fR=\fI\,FILE\/\fR |
| 27 |
get list of input files from FILE |
| 28 |
.TP |
| 29 |
\fB\-D\fR, \fB\-\-directory\fR=\fI\,DIRECTORY\/\fR |
| 30 |
add DIRECTORY to list for input files search |
| 31 |
.PP |
| 32 |
If input file is \-, standard input is read. |
| 33 |
.SS "Output file location:" |
| 34 |
.TP |
| 35 |
\fB\-o\fR, \fB\-\-output\-file\fR=\fI\,FILE\/\fR |
| 36 |
write output to specified file |
| 37 |
.PP |
| 38 |
The results are written to standard output if no output file is specified |
| 39 |
or if it is \-. |
| 40 |
.SS "Message selection:" |
| 41 |
.TP |
| 42 |
\-<, \fB\-\-less\-than\fR=\fI\,NUMBER\/\fR |
| 43 |
print messages with less than this many |
| 44 |
definitions, defaults to infinite if not set |
| 45 |
.TP |
| 46 |
\->, \fB\-\-more\-than\fR=\fI\,NUMBER\/\fR |
| 47 |
print messages with more than this many |
| 48 |
definitions, defaults to 1 if not set |
| 49 |
.TP |
| 50 |
\fB\-u\fR, \fB\-\-unique\fR |
| 51 |
shorthand for \fB\-\-less\-than\fR=\fI\,2\/\fR, requests |
| 52 |
that only unique messages be printed |
| 53 |
.SS "Input file syntax:" |
| 54 |
.TP |
| 55 |
\fB\-P\fR, \fB\-\-properties\-input\fR |
| 56 |
input files are in Java .properties syntax |
| 57 |
.TP |
| 58 |
\fB\-\-stringtable\-input\fR |
| 59 |
input files are in NeXTstep/GNUstep .strings |
| 60 |
syntax |
| 61 |
.SS "Output details:" |
| 62 |
.TP |
| 63 |
\fB\-\-color\fR |
| 64 |
use colors and other text attributes always |
| 65 |
.TP |
| 66 |
\fB\-\-color\fR=\fI\,WHEN\/\fR |
| 67 |
use colors and other text attributes if WHEN. |
| 68 |
WHEN may be 'always', 'never', 'auto', or 'html'. |
| 69 |
.TP |
| 70 |
\fB\-\-style\fR=\fI\,STYLEFILE\/\fR |
| 71 |
specify CSS style rule file for \fB\-\-color\fR |
| 72 |
.TP |
| 73 |
\fB\-e\fR, \fB\-\-no\-escape\fR |
| 74 |
do not use C escapes in output (default) |
| 75 |
.TP |
| 76 |
\fB\-E\fR, \fB\-\-escape\fR |
| 77 |
use C escapes in output, no extended chars |
| 78 |
.TP |
| 79 |
\fB\-\-force\-po\fR |
| 80 |
write PO file even if empty |
| 81 |
.TP |
| 82 |
\fB\-i\fR, \fB\-\-indent\fR |
| 83 |
write the .po file using indented style |
| 84 |
.TP |
| 85 |
\fB\-\-no\-location\fR |
| 86 |
do not write '#: filename:line' lines |
| 87 |
.TP |
| 88 |
\fB\-n\fR, \fB\-\-add\-location\fR |
| 89 |
generate '#: filename:line' lines (default) |
| 90 |
.TP |
| 91 |
\fB\-\-strict\fR |
| 92 |
write out strict Uniforum conforming .po file |
| 93 |
.TP |
| 94 |
\fB\-p\fR, \fB\-\-properties\-output\fR |
| 95 |
write out a Java .properties file |
| 96 |
.TP |
| 97 |
\fB\-\-stringtable\-output\fR |
| 98 |
write out a NeXTstep/GNUstep .strings file |
| 99 |
.TP |
| 100 |
\fB\-w\fR, \fB\-\-width\fR=\fI\,NUMBER\/\fR |
| 101 |
set output page width |
| 102 |
.TP |
| 103 |
\fB\-\-no\-wrap\fR |
| 104 |
do not break long message lines, longer than |
| 105 |
the output page width, into several lines |
| 106 |
.TP |
| 107 |
\fB\-s\fR, \fB\-\-sort\-output\fR |
| 108 |
generate sorted output |
| 109 |
.TP |
| 110 |
\fB\-F\fR, \fB\-\-sort\-by\-file\fR |
| 111 |
sort output by file location |
| 112 |
.TP |
| 113 |
\fB\-\-omit\-header\fR |
| 114 |
don't write header with 'msgid ""' entry |
| 115 |
.SS "Informative output:" |
| 116 |
.TP |
| 117 |
\fB\-h\fR, \fB\-\-help\fR |
| 118 |
display this help and exit |
| 119 |
.TP |
| 120 |
\fB\-V\fR, \fB\-\-version\fR |
| 121 |
output version information and exit |
| 122 |
.SH AUTHOR |
| 123 |
Written by Peter Miller. |
| 124 |
.SH "REPORTING BUGS" |
| 125 |
Report bugs in the bug tracker at <https://savannah.gnu.org/projects/gettext> |
| 126 |
or by email to <bug\[email protected]>. |
| 127 |
.SH COPYRIGHT |
| 128 |
Copyright \(co 1995\-2025 Free Software Foundation, Inc. |
| 129 |
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html> |
| 130 |
.br |
| 131 |
This is free software: you are free to change and redistribute it. |
| 132 |
There is NO WARRANTY, to the extent permitted by law. |
| 133 |
.SH "SEE ALSO" |
| 134 |
The full documentation for |
| 135 |
.B msgcomm |
| 136 |
is maintained as a Texinfo manual. If the |
| 137 |
.B info |
| 138 |
and |
| 139 |
.B msgcomm |
| 140 |
programs are properly installed at your site, the command |
| 141 |
.IP |
| 142 |
.B info msgcomm |
| 143 |
.PP |
| 144 |
should give you access to the complete manual. |