| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6. |
| 2 |
.TH MSGEXEC "1" "July 2025" "GNU gettext-tools 0.26" "User Commands" |
| 3 |
.SH NAME |
| 4 |
msgexec \- process translations of message catalog |
| 5 |
.SH SYNOPSIS |
| 6 |
.B msgexec |
| 7 |
[\fI\,OPTION\/\fR] \fI\,COMMAND \/\fR[\fI\,COMMAND-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=\fI\,INPUTFILE\/\fR |
| 28 |
input PO file |
| 29 |
.TP |
| 30 |
\fB\-D\fR, \fB\-\-directory\fR=\fI\,DIRECTORY\/\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 in the bug tracker at <https://savannah.gnu.org/projects/gettext> |
| 52 |
or by email to <bug\[email protected]>. |
| 53 |
.SH COPYRIGHT |
| 54 |
Copyright \(co 2001\-2025 Free Software Foundation, Inc. |
| 55 |
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html> |
| 56 |
.br |
| 57 |
This is free software: you are free to change and redistribute it. |
| 58 |
There is NO WARRANTY, to the extent permitted by law. |
| 59 |
.SH "SEE ALSO" |
| 60 |
The full documentation for |
| 61 |
.B msgexec |
| 62 |
is maintained as a Texinfo manual. If the |
| 63 |
.B info |
| 64 |
and |
| 65 |
.B msgexec |
| 66 |
programs are properly installed at your site, the command |
| 67 |
.IP |
| 68 |
.B info msgexec |
| 69 |
.PP |
| 70 |
should give you access to the complete manual. |