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
- arch rolling: git 2.56.0-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms