carta
git-sh-i18n--envsubst(1)

git-sh-i18n--envsubst1

Git's own envsubst(1) for i18n fallbacks

Usage

printf {"%s" "$1" | (}

export PATH $(git sh-i18n--envsubst --variables "$1");

git sh-i18n--envsubst "$1"

Overview

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) 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

History

  • Arch Linux 2026-11-01: the text shown here
  • Debian 13 (Trixie)
  • Debian 12 (Bookworm)
  • Debian 11 (Bullseye)
  • Debian 10 (Buster)
  • Debian 9 (Stretch)
  • Debian 8 (Jessie)
  • Debian 7 (Wheezy)

From git 2.56.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.