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   and   extract  comments  will  be  cumulated,  except  that  if
19       --use-first is specified, they will be taken from the first PO file  to
20       define them.  File positions from all PO files will be cumulated.
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       -e, --no-escape
73              do not use C escapes in output (default)
74
75       -E, --escape
76              use C escapes in output, no extended chars
77
78       --force-po
79              write PO file even if empty
80
81       -i, --indent
82              write the .po file using indented style
83
84       --no-location
85              do not write '#: filename:line' lines
86
87       -n, --add-location
88              generate '#: filename:line' lines (default)
89
90       --strict
91              write out strict Uniforum conforming .po file
92
93       -p, --properties-output
94              write out a Java .properties file
95
96       --stringtable-output
97              write out a NeXTstep/GNUstep .strings file
98
99       -w, --width=NUMBER
100              set output page width
101
102       --no-wrap
103              do  not  break  long  message lines, longer than the output page
104              width, into several lines
105
106       -s, --sort-output
107              generate sorted output
108
109       -F, --sort-by-file
110              sort output by file location
111
112   Informative output:
113       -h, --help
114              display this help and exit
115
116       -V, --version
117              output version information and exit
118

AUTHOR

120       Written by Bruno Haible.
121

REPORTING BUGS

123       Report bugs to <bug-gnu-gettext@gnu.org>.
124
126       Copyright © 2001-2006 Free Software Foundation, Inc.
127       This is free software; see the source for copying conditions.  There is
128       NO  warranty;  not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
129       PURPOSE.
130

SEE ALSO

132       The full documentation for msgcat is maintained as  a  Texinfo  manual.
133       If  the  info  and msgcat programs are properly installed at your site,
134       the command
135
136              info msgcat
137
138       should give you access to the complete manual.
139
140
141
142GNU gettext-tools 0.16.1         November 2006                       MSGCAT(1)
Impressum