1GIT-SH-I18N--ENVSUBST(1) Git Manual GIT-SH-I18N--ENVSUBST(1)
2
3
4
6 git-sh-i18n--envsubst - Git's own envsubst(1) for i18n fallbacks
7
9 eval_gettext () {
10 printf "%s" "$1" | (
11 export PATH $(git sh-i18n--envsubst --variables "$1");
12 git sh-i18n--envsubst "$1"
13 )
14 }
15
17 This is not a command the end user would want to run. Ever. This
18 documentation is meant for people who are studying the plumbing scripts
19 and/or are writing new ones.
20
21 git sh-i18n--envsubst is Git’s stripped-down copy of the GNU
22 envsubst(1) program that comes with the GNU gettext package. It’s used
23 internally by git-sh-i18n(1) to interpolate the variables passed to the
24 eval_gettext function.
25
26 No promises are made about the interface, or that this program won’t
27 disappear without warning in the next version of Git. Don’t use it.
28
30 Part of the git(1) suite
31
32
33
34Git 2.43.0 11/20/2023 GIT-SH-I18N--ENVSUBST(1)