jpayne@68: .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6. jpayne@68: .TH MSGCAT "1" "February 2024" "GNU gettext-tools 0.22.5" "User Commands" jpayne@68: .SH NAME jpayne@68: msgcat \- combines several message catalogs jpayne@68: .SH SYNOPSIS jpayne@68: .B msgcat jpayne@68: [\fI\,OPTION\/\fR] [\fI\,INPUTFILE\/\fR]... jpayne@68: .SH DESCRIPTION jpayne@68: .\" Add any additional description here jpayne@68: .PP jpayne@68: Concatenates and merges the specified PO files. jpayne@68: Find messages which are common to two or more of the specified PO files. jpayne@68: By using the \fB\-\-more\-than\fR option, greater commonality may be requested jpayne@68: before messages are printed. Conversely, the \fB\-\-less\-than\fR option may be jpayne@68: used to specify less commonality before messages are printed (i.e. jpayne@68: \fB\-\-less\-than\fR=\fI\,2\/\fR will only print the unique messages). Translations, jpayne@68: comments, extracted comments, and file positions will be cumulated, except jpayne@68: that if \fB\-\-use\-first\fR is specified, they will be taken from the first PO file jpayne@68: to define them. jpayne@68: .PP jpayne@68: Mandatory arguments to long options are mandatory for short options too. jpayne@68: .SS "Input file location:" jpayne@68: .TP jpayne@68: INPUTFILE ... jpayne@68: input files jpayne@68: .TP jpayne@68: \fB\-f\fR, \fB\-\-files\-from\fR=\fI\,FILE\/\fR jpayne@68: get list of input files from FILE jpayne@68: .TP jpayne@68: \fB\-D\fR, \fB\-\-directory\fR=\fI\,DIRECTORY\/\fR jpayne@68: add DIRECTORY to list for input files search jpayne@68: .PP jpayne@68: If input file is \-, standard input is read. jpayne@68: .SS "Output file location:" jpayne@68: .TP jpayne@68: \fB\-o\fR, \fB\-\-output\-file\fR=\fI\,FILE\/\fR jpayne@68: write output to specified file jpayne@68: .PP jpayne@68: The results are written to standard output if no output file is specified jpayne@68: or if it is \-. jpayne@68: .SS "Message selection:" jpayne@68: .TP jpayne@68: \-<, \fB\-\-less\-than\fR=\fI\,NUMBER\/\fR jpayne@68: print messages with less than this many jpayne@68: definitions, defaults to infinite if not set jpayne@68: .TP jpayne@68: \->, \fB\-\-more\-than\fR=\fI\,NUMBER\/\fR jpayne@68: print messages with more than this many jpayne@68: definitions, defaults to 0 if not set jpayne@68: .TP jpayne@68: \fB\-u\fR, \fB\-\-unique\fR jpayne@68: shorthand for \fB\-\-less\-than\fR=\fI\,2\/\fR, requests jpayne@68: that only unique messages be printed jpayne@68: .SS "Input file syntax:" jpayne@68: .TP jpayne@68: \fB\-P\fR, \fB\-\-properties\-input\fR jpayne@68: input files are in Java .properties syntax jpayne@68: .TP jpayne@68: \fB\-\-stringtable\-input\fR jpayne@68: input files are in NeXTstep/GNUstep .strings jpayne@68: syntax jpayne@68: .SS "Output details:" jpayne@68: .TP jpayne@68: \fB\-t\fR, \fB\-\-to\-code\fR=\fI\,NAME\/\fR jpayne@68: encoding for output jpayne@68: .TP jpayne@68: \fB\-\-use\-first\fR jpayne@68: use first available translation for each jpayne@68: message, don't merge several translations jpayne@68: .TP jpayne@68: \fB\-\-lang\fR=\fI\,CATALOGNAME\/\fR jpayne@68: set 'Language' field in the header entry jpayne@68: .TP jpayne@68: \fB\-\-color\fR jpayne@68: use colors and other text attributes always jpayne@68: .TP jpayne@68: \fB\-\-color\fR=\fI\,WHEN\/\fR jpayne@68: use colors and other text attributes if WHEN. jpayne@68: WHEN may be 'always', 'never', 'auto', or 'html'. jpayne@68: .TP jpayne@68: \fB\-\-style\fR=\fI\,STYLEFILE\/\fR jpayne@68: specify CSS style rule file for \fB\-\-color\fR jpayne@68: .TP jpayne@68: \fB\-e\fR, \fB\-\-no\-escape\fR jpayne@68: do not use C escapes in output (default) jpayne@68: .TP jpayne@68: \fB\-E\fR, \fB\-\-escape\fR jpayne@68: use C escapes in output, no extended chars jpayne@68: .TP jpayne@68: \fB\-\-force\-po\fR jpayne@68: write PO file even if empty jpayne@68: .TP jpayne@68: \fB\-i\fR, \fB\-\-indent\fR jpayne@68: write the .po file using indented style jpayne@68: .TP jpayne@68: \fB\-\-no\-location\fR jpayne@68: do not write '#: filename:line' lines jpayne@68: .TP jpayne@68: \fB\-n\fR, \fB\-\-add\-location\fR jpayne@68: generate '#: filename:line' lines (default) jpayne@68: .TP jpayne@68: \fB\-\-strict\fR jpayne@68: write out strict Uniforum conforming .po file jpayne@68: .TP jpayne@68: \fB\-p\fR, \fB\-\-properties\-output\fR jpayne@68: write out a Java .properties file jpayne@68: .TP jpayne@68: \fB\-\-stringtable\-output\fR jpayne@68: write out a NeXTstep/GNUstep .strings file jpayne@68: .TP jpayne@68: \fB\-w\fR, \fB\-\-width\fR=\fI\,NUMBER\/\fR jpayne@68: set output page width jpayne@68: .TP jpayne@68: \fB\-\-no\-wrap\fR jpayne@68: do not break long message lines, longer than jpayne@68: the output page width, into several lines jpayne@68: .TP jpayne@68: \fB\-s\fR, \fB\-\-sort\-output\fR jpayne@68: generate sorted output jpayne@68: .TP jpayne@68: \fB\-F\fR, \fB\-\-sort\-by\-file\fR jpayne@68: sort output by file location jpayne@68: .SS "Informative output:" jpayne@68: .TP jpayne@68: \fB\-h\fR, \fB\-\-help\fR jpayne@68: display this help and exit jpayne@68: .TP jpayne@68: \fB\-V\fR, \fB\-\-version\fR jpayne@68: output version information and exit jpayne@68: .SH AUTHOR jpayne@68: Written by Bruno Haible. jpayne@68: .SH "REPORTING BUGS" jpayne@68: Report bugs in the bug tracker at jpayne@68: or by email to . jpayne@68: .SH COPYRIGHT jpayne@68: Copyright \(co 2001\-2023 Free Software Foundation, Inc. jpayne@68: License GPLv3+: GNU GPL version 3 or later jpayne@68: .br jpayne@68: This is free software: you are free to change and redistribute it. jpayne@68: There is NO WARRANTY, to the extent permitted by law. jpayne@68: .SH "SEE ALSO" jpayne@68: The full documentation for jpayne@68: .B msgcat jpayne@68: is maintained as a Texinfo manual. If the jpayne@68: .B info jpayne@68: and jpayne@68: .B msgcat jpayne@68: programs are properly installed at your site, the command jpayne@68: .IP jpayne@68: .B info msgcat jpayne@68: .PP jpayne@68: should give you access to the complete manual.