blob: 2ffaf9392e59dac1a4d945b4a5a42dd45371e5cd [file] [log] [blame]
Junio C Hamano360e3a12011-07-13 23:51:561git-sh-i18n{litdd}envsubst(1)
2=============================
Junio C Hamano2a294cd2011-05-23 23:06:313
4NAME
5----
6git-sh-i18n--envsubst - Git's own envsubst(1) for i18n fallbacks
7
Junio C Hamanoef5a2f92011-05-31 19:53:338SYNOPSIS
9--------
10[verse]
11eval_gettext () {
12printf "%s" "$1" | (
Junio C Hamano360e3a12011-07-13 23:51:5613export PATH $('git sh-i18n{litdd}envsubst' --variables "$1");
14'git sh-i18n{litdd}envsubst' "$1"
Junio C Hamanoef5a2f92011-05-31 19:53:3315)
16}
17
Junio C Hamano2a294cd2011-05-23 23:06:3118DESCRIPTION
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
Junio C Hamano360e3a12011-07-13 23:51:5625'git sh-i18n{litdd}envsubst' is Git's stripped-down copy of the GNU
Junio C Hamano2a294cd2011-05-23 23:06:3126`envsubst(1)` program that comes with the GNU gettext package. It's
27used internally by linkgit:git-sh-i18n[1] to interpolate the variables
Junio C Hamano0ff98162012-03-31 18:19:0928passed to the `eval_gettext` function.
Junio C Hamano2a294cd2011-05-23 23:06:3129
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