blob: 2ffaf9392e59dac1a4d945b4a5a42dd45371e5cd [file] [log] [blame]
Jonathan Nieder27269fc2011-06-29 00:36:48 -05001git-sh-i18n{litdd}envsubst(1)
2=============================
Ævar Arnfjörð Bjarmasonba67aaf2011-05-14 13:47:42 +00003
4NAME
5----
6git-sh-i18n--envsubst - Git's own envsubst(1) for i18n fallbacks
7
Ævar Arnfjörð Bjarmasonf5008f52011-05-29 11:00:35 +00008SYNOPSIS
9--------
10[verse]
11eval_gettext () {
12 printf "%s" "$1" | (
Jonathan Nieder27269fc2011-06-29 00:36:48 -050013 export PATH $('git sh-i18n{litdd}envsubst' --variables "$1");
14 'git sh-i18n{litdd}envsubst' "$1"
Ævar Arnfjörð Bjarmasonf5008f52011-05-29 11:00:35 +000015 )
16}
17
Ævar Arnfjörð Bjarmasonba67aaf2011-05-14 13:47:42 +000018DESCRIPTION
19-----------
20
21This is not a command the end user would want to run. Ever.
22This documentation is meant for people who are studying the
23plumbing scripts and/or are writing new ones.
24
Jonathan Nieder27269fc2011-06-29 00:36:48 -050025'git sh-i18n{litdd}envsubst' is Git's stripped-down copy of the GNU
Ævar Arnfjörð Bjarmasonba67aaf2011-05-14 13:47:42 +000026`envsubst(1)` program that comes with the GNU gettext package. It's
27used internally by linkgit:git-sh-i18n[1] to interpolate the variables
Jim Meyering65c2b2b2012-03-28 10:45:36 +020028passed to the `eval_gettext` function.
Ævar Arnfjörð Bjarmasonba67aaf2011-05-14 13:47:42 +000029
30No promises are made about the interface, or that this
31program won't disappear without warning in the next version
32of Git. Don't use it.
33
34GIT
35---
36Part of the linkgit:git[1] suite