2011-06-29 13:36:48 +08:00
|
|
|
git-sh-i18n{litdd}envsubst(1)
|
|
|
|
=============================
|
2011-05-14 21:47:42 +08:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
git-sh-i18n--envsubst - Git's own envsubst(1) for i18n fallbacks
|
|
|
|
|
2011-05-29 19:00:35 +08:00
|
|
|
SYNOPSIS
|
|
|
|
--------
|
|
|
|
[verse]
|
|
|
|
eval_gettext () {
|
|
|
|
printf "%s" "$1" | (
|
2011-06-29 13:36:48 +08:00
|
|
|
export PATH $('git sh-i18n{litdd}envsubst' --variables "$1");
|
|
|
|
'git sh-i18n{litdd}envsubst' "$1"
|
2011-05-29 19:00:35 +08:00
|
|
|
)
|
|
|
|
}
|
|
|
|
|
2011-05-14 21:47:42 +08:00
|
|
|
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.
|
|
|
|
|
2011-06-29 13:36:48 +08:00
|
|
|
'git sh-i18n{litdd}envsubst' is Git's stripped-down copy of the GNU
|
2011-05-14 21:47:42 +08:00
|
|
|
`envsubst(1)` program that comes with the GNU gettext package. It's
|
|
|
|
used internally by linkgit:git-sh-i18n[1] to interpolate the variables
|
2012-03-28 16:45:36 +08:00
|
|
|
passed to the `eval_gettext` function.
|
2011-05-14 21:47:42 +08:00
|
|
|
|
|
|
|
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 linkgit:git[1] suite
|