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