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 .properties syntax πŸ’œ
  • --stringtable-input β€” input file is in NeXTstep/GNUstep .strings syntax ⭐

πŸ‘‘ 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 Β© 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