logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

git-sh-i18n--envsubst - Git's own envsubst(1) for i18n fallbacks

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.

       gitsh-i18n--envsubst is Git’s stripped-down copy of the GNU envsubst(1) program that comes with the GNU
       gettext package. It’s used internally by git-sh-i18n(1) 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) suite

Git 2.48.1                                         07/02/2025                           GIT-SH-I18N--ENVSUBST(1)

Name

       git-sh-i18n--envsubst - Git's own envsubst(1) for i18n fallbacks

Synopsis

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

See Also