1MSGEXEC(1)                       User Commands                      MSGEXEC(1)
2
3
4

NAME

6       msgexec - process translations of message catalog
7

SYNOPSIS

9       msgexec [OPTION] COMMAND [COMMAND-OPTION]
10

DESCRIPTION

12       Applies  a  command  to all translations of a translation catalog.  The
13       COMMAND can be any program that reads a translation from  standard  in‐
14       put.   It is invoked once for each translation.  Its output becomes ms‐
15       gexec's output.  msgexec's return  code  is  the  maximum  return  code
16       across all invocations.
17
18       A  special builtin command called '0' outputs the translation, followed
19       by a null byte.  The output of "msgexec 0" is  suitable  as  input  for
20       "xargs -0".
21
22   Command input:
23       --newline
24              add newline at the end of input
25
26       Mandatory  arguments  to  long  options are mandatory for short options
27       too.
28
29   Input file location:
30       -i, --input=INPUTFILE
31              input PO file
32
33       -D, --directory=DIRECTORY
34              add DIRECTORY to list for input files search
35
36       If no input file is given or if it is -, standard input is read.
37
38   Input file syntax:
39       -P, --properties-input
40              input file is in Java .properties syntax
41
42       --stringtable-input
43              input file is in NeXTstep/GNUstep .strings syntax
44
45   Informative output:
46       -h, --help
47              display this help and exit
48
49       -V, --version
50              output version information and exit
51

AUTHOR

53       Written by Bruno Haible.
54

REPORTING BUGS

56       Report    bugs    in    the    bug    tracker    at     <https://savan
57       nah.gnu.org/projects/gettext> or by email to <bug-gettext@gnu.org>.
58
60       Copyright  ©  2001-2023 Free Software Foundation, Inc.  License GPLv3+:
61       GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
62       This is free software: you are free  to  change  and  redistribute  it.
63       There is NO WARRANTY, to the extent permitted by law.
64

SEE ALSO

66       The  full  documentation for msgexec is maintained as a Texinfo manual.
67       If the info and msgexec programs are properly installed at  your  site,
68       the command
69
70              info msgexec
71
72       should give you access to the complete manual.
73
74
75
76GNU gettext-tools 0.22             June 2023                        MSGEXEC(1)
Impressum