# git-sh-i18n--envsubst(1) - man - phpman

[GIT-SH-I18N--ENV(1)](https://www.chedong.com/phpMan.php/man/GIT-SH-I18N--ENV/1/markdown)                          Git Manual                          [GIT-SH-I18N--ENV(1)](https://www.chedong.com/phpMan.php/man/GIT-SH-I18N--ENV/1/markdown)



## NAME
       git-sh-i18n--envsubst - Git's own [envsubst(1)](https://www.chedong.com/phpMan.php/man/envsubst/1/markdown) for i18n fallbacks

## SYNOPSIS
       eval_gettext () {
               printf "%s" "$1" | (
                       export PATH $(_git_ _sh-i18n--envsubst_ --variables "$1");
                       _git_ _sh-i18n--envsubst_ "$1"
               )
       }


## DESCRIPTION
       This is not a command the end user would want to run. Ever. This documentation is meant for
       people who are studying the plumbing scripts and/or are writing new ones.

       _git_ _sh-i18n--envsubst_ is Git’s stripped-down copy of the GNU [**envsubst(1)](https://www.chedong.com/phpMan.php/man/envsubst/1/markdown)** program that comes
       with the GNU gettext package. It’s used internally by [**git-sh-i18n**(1)](https://www.chedong.com/phpMan.php/man/git-sh-i18n/1/markdown) to interpolate the
       variables passed to the **eval**___**gettext** function.

       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.

## GIT
       Part of the [**git**(1)](https://www.chedong.com/phpMan.php/man/git/1/markdown) suite



Git 2.34.1                                   02/26/2026                          [GIT-SH-I18N--ENV(1)](https://www.chedong.com/phpMan.php/man/GIT-SH-I18N--ENV/1/markdown)
