1MSGCAT(1)                             GNU                            MSGCAT(1)
2
3
4

NAME

6       msgcat - combines several message catalogs
7

SYNOPSIS

9       msgcat [OPTION] [INPUTFILE]...
10

DESCRIPTION

12       Concatenates  and  merges  the specified PO files.  Find messages which
13       are common to two or more of the specified  PO  files.   By  using  the
14       --more-than  option,  greater  commonality may be requested before mes‐
15       sages are printed.  Conversely, the --less-than option may be  used  to
16       specify   less   commonality   before   messages   are   printed  (i.e.
17       --less-than=2 will only print the unique messages).  Translations, com‐
18       ments, extracted comments, and file positions will be cumulated, except
19       that if --use-first is specified, they will be taken from the first  PO
20       file to define them.
21
22       Mandatory  arguments  to  long  options are mandatory for short options
23       too.
24
25   Input file location:
26       INPUTFILE ...
27              input files
28
29       -f, --files-from=FILE
30              get list of input files from FILE
31
32       -D, --directory=DIRECTORY
33              add DIRECTORY to list for input files search
34
35       If input file is -, standard input is read.
36
37   Output file location:
38       -o, --output-file=FILE
39              write output to specified file
40
41       The results are written to standard output if no output file is  speci‐
42       fied or if it is -.
43
44   Message selection:
45       -<, --less-than=NUMBER
46              print messages with less than this many definitions, defaults to
47              infinite if not set
48
49       ->, --more-than=NUMBER
50              print messages with more than this many definitions, defaults to
51              0 if not set
52
53       -u, --unique
54              shorthand  for --less-than=2, requests that only unique messages
55              be printed
56
57   Input file syntax:
58       -P, --properties-input
59              input files are in Java .properties syntax
60
61       --stringtable-input
62              input files are in NeXTstep/GNUstep .strings syntax
63
64   Output details:
65       -t, --to-code=NAME
66              encoding for output
67
68       --use-first
69              use first available translation for each  message,  don't  merge
70              several translations
71
72       --lang=CATALOGNAME
73              set 'Language' field in the header entry
74
75       --color
76              use colors and other text attributes always
77
78       --color=WHEN
79              use  colors  and  other  text  attributes  if WHEN.  WHEN may be
80              'always', 'never', 'auto', or 'html'.
81
82       --style=STYLEFILE
83              specify CSS style rule file for --color
84
85       -e, --no-escape
86              do not use C escapes in output (default)
87
88       -E, --escape
89              use C escapes in output, no extended chars
90
91       --force-po
92              write PO file even if empty
93
94       -i, --indent
95              write the .po file using indented style
96
97       --no-location
98              do not write '#: filename:line' lines
99
100       -n, --add-location
101              generate '#: filename:line' lines (default)
102
103       --strict
104              write out strict Uniforum conforming .po file
105
106       -p, --properties-output
107              write out a Java .properties file
108
109       --stringtable-output
110              write out a NeXTstep/GNUstep .strings file
111
112       -w, --width=NUMBER
113              set output page width
114
115       --no-wrap
116              do not break long message lines, longer  than  the  output  page
117              width, into several lines
118
119       -s, --sort-output
120              generate sorted output
121
122       -F, --sort-by-file
123              sort output by file location
124
125   Informative output:
126       -h, --help
127              display this help and exit
128
129       -V, --version
130              output version information and exit
131

AUTHOR

133       Written by Bruno Haible.
134

REPORTING BUGS

136       Report bugs to <bug-gnu-gettext@gnu.org>.
137
139       Copyright  ©  2001-2016 Free Software Foundation, Inc.  License GPLv3+:
140       GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
141       This is free software: you are free  to  change  and  redistribute  it.
142       There is NO WARRANTY, to the extent permitted by law.
143

SEE ALSO

145       The  full  documentation  for msgcat is maintained as a Texinfo manual.
146       If the info and msgcat programs are properly installed  at  your  site,
147       the command
148
149              info msgcat
150
151       should give you access to the complete manual.
152
153
154
155GNU gettext-tools 0.19.8.1         June 2016                         MSGCAT(1)
Impressum