MSGEXEC(1)
π MSGEXEC π
okay bestie, welcome to msgexec, a User Commands girlie from the GNU gettext-tools 1.0 era (January 2026, she's fresh β¨). She processes translations of a message catalog, and honestly? iconic behaviour. let's get into it π«Ά
β¨ NAME β¨
msgexec β process translations of message catalog π
πΈ SYNOPSIS πΈ
msgexec [OPTION] COMMAND [COMMAND-OPTION]
π¦ DESCRIPTION π¦
So here's the vibe: msgexec applies a command to all translations of a translation catalog. The COMMAND can be literally any program that reads a translation from standard input. She invokes it once for each translation. Its output becomes msgexec's output. And msgexec's return code? It's the maximum return code across all invocations β she's taking the crown of the worst outcome, no cap π
There's also a special builtin command called 0 (yes, just the digit zero, main character energy) that outputs the translation, followed by a null byte. The output of msgexec 0 is suitable as input for xargs -0. iykyk π
π Command input π
--newlineβ add newline at the end of input π
Mandatory arguments to long options are mandatory for short options too. fr fr, don't skip them π
π Input file location π
-i,--input=INPUTFILEβ input PO file π-D,--directory=DIRECTORYβ add DIRECTORY to list for input files search πΈ
If no input file is given, or if it is -, standard input is read. simple as that bestie β¨
π§ Input file syntax π§
-P,--properties-inputβ input file is in Java.propertiessyntax π--stringtable-inputβ input file is in NeXTstep/GNUstep.stringssyntax β
π Informative output π
-h,--helpβ display this help and exit π«Ά-V,--versionβ output version information and exit π
π AUTHOR π
Written by Bruno Haible. legend behaviour, we love to see it π
π₯ REPORTING BUGS π₯
Found a bug? spill it in the bug tracker at <https://savannah.gnu.org/projects/gettext> or email <bug-gettext@gnu.org>. not me encouraging you to report bugs, but like, do it π
π COPYRIGHT π
Copyright Β© 2001-2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. periodt π
π¦ SEE ALSO π¦
The full documentation for msgexec is maintained as a Texinfo manual. If the info and msgexec programs are properly installed at your site, the command
info msgexec
should give you access to the complete manual. go read her, she ate πβ¨
and that's the whole page bestie!! π this was GNU gettext-tools 1.0, January 2026, and the manual page title was MSGEXEC(1) in case you were wondering π¦ mwah, bye π
π¦ where this page comes from
- alpine 3.24: gettext-doc 1.0-r0 Β· GPL-3.0-or-later AND LGPL-2.1-or-later AND MIT
- arch rolling: gettext 1.0-2 Β· GFDL-1.2-only AND GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.0-only
- nixos 26.05: gettext 1.0
- nixpkgs unstable: gettext 1.0
- ubuntu stonking: gettext 1.0-3 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms