1GIT-SH-I18N--ENV(1) Git Manual GIT-SH-I18N--ENV(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
16
18 This is not a command the end user would want to run. Ever. This
19 documentation is meant for people who are studying the plumbing scripts
20 and/or are writing new ones.
21
22 git sh-i18n--envsubst is Git’s stripped-down copy of the GNU
23 envsubst(1) program that comes with the GNU gettext package. It’s used
24 internally by git-sh-i18n(1) to interpolate the variables passed to the
25 eval_gettext function.
26
27 No promises are made about the interface, or that this program won’t
28 disappear without warning in the next version of Git. Don’t use it.
29
31 Part of the git(1) suite
32
33
34
35Git 2.21.0 02/24/2019 GIT-SH-I18N--ENV(1)