Imported Upstream version 0.19.7
[platform/upstream/gettext.git] / gettext-tools / man / msgexec.1
1 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.24.
2 .TH MSGEXEC "1" "December 2015" "GNU gettext-tools 0.19.7" GNU
3 .SH NAME
4 msgexec \- process translations of message catalog
5 .SH SYNOPSIS
6 .B msgexec
7 [\fIOPTION\fR] \fICOMMAND \fR[\fICOMMAND-OPTION\fR]
8 .SH DESCRIPTION
9 .\" Add any additional description here
10 .PP
11 Applies a command to all translations of a translation catalog.
12 The COMMAND can be any program that reads a translation from standard
13 input.  It is invoked once for each translation.  Its output becomes
14 msgexec's output.  msgexec's return code is the maximum return code
15 across all invocations.
16 .PP
17 A special builtin command called '0' outputs the translation, followed by a
18 null byte.  The output of "msgexec 0" is suitable as input for "xargs \fB\-0\fR".
19 .SS "Command input:"
20 .TP
21 \fB\-\-newline\fR
22 add newline at the end of input
23 .PP
24 Mandatory arguments to long options are mandatory for short options too.
25 .SS "Input file location:"
26 .TP
27 \fB\-i\fR, \fB\-\-input\fR=\fIINPUTFILE\fR
28 input PO file
29 .TP
30 \fB\-D\fR, \fB\-\-directory\fR=\fIDIRECTORY\fR
31 add DIRECTORY to list for input files search
32 .PP
33 If no input file is given or if it is -, standard input is read.
34 .SS "Input file syntax:"
35 .TP
36 \fB\-P\fR, \fB\-\-properties\-input\fR
37 input file is in Java .properties syntax
38 .TP
39 \fB\-\-stringtable\-input\fR
40 input file is in NeXTstep/GNUstep .strings syntax
41 .SS "Informative output:"
42 .TP
43 \fB\-h\fR, \fB\-\-help\fR
44 display this help and exit
45 .TP
46 \fB\-V\fR, \fB\-\-version\fR
47 output version information and exit
48 .SH AUTHOR
49 Written by Bruno Haible.
50 .SH "REPORTING BUGS"
51 Report bugs to <bug-gnu-gettext@gnu.org>.
52 .SH COPYRIGHT
53 Copyright \(co 2001-2010 Free Software Foundation, Inc.
54 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
55 .br
56 This is free software: you are free to change and redistribute it.
57 There is NO WARRANTY, to the extent permitted by law.
58 .SH "SEE ALSO"
59 The full documentation for
60 .B msgexec
61 is maintained as a Texinfo manual.  If the
62 .B info
63 and
64 .B msgexec
65 programs are properly installed at your site, the command
66 .IP
67 .B info msgexec
68 .PP
69 should give you access to the complete manual.