GIT-SH-I18N--ENVSUBST(1)

πŸ’… NAME πŸ’…

git-sh-i18n--envsubst β€” Git's very own envsubst(1) for i18n fallbacks, no cap 🫢

(also hi, this page lives in the git-sh-i18n--envsubst(1) manual section, iykyk πŸ’–)


✨ SYNOPSIS ✨

eval_gettext () {
        printf "%s" "$1" | (
                export PATH $(git sh-i18n--envsubst --variables "$1");
                git sh-i18n--envsubst "$1"
        )
}

okay so that's literally the whole vibe right there ⬆️ copy it exactly, bestie, don't touch the spacing 😭


πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so first things first: this is not a command the end user would want to run. Ever. Like, ever ever πŸ™ˆ. This documentation is for the people who are out here studying the plumbing scripts and/or writing new ones β€” the backstage girlies, the main-character internals crew πŸ‘‘.

git sh-i18n--envsubst is Git's stripped-down copy of the GNU envsubst(1) program that ships with the GNU gettext package. It gets used internally by git-sh-i18n(1) to interpolate the variables passed to the eval_gettext function ✨. Very much a backstage-pass situation πŸ’….

⚠️ No promises are made about the interface, or that this program won't disappear without warning in the next version of Git. Don't use it. fr fr, don't. πŸ’€

🌈 GIT 🌈

Part of the git(1) suite πŸŽ€


k bye bestie, that's the page β€” source and version tea: Git 2.56.0, dated 2026-09-27, and this icon of a manual page is GIT-SH-I18N--ENVSUBST(1) πŸ¦‹βœ¨πŸ’œ

πŸ“¦ where this page comes from