Jonathan Nieder | 27269fc | 2011-06-29 00:36:48 -0500 | [diff] [blame] | 1 | git-sh-i18n{litdd}envsubst(1) |
| 2 | ============================= |
Ævar Arnfjörð Bjarmason | ba67aaf | 2011-05-14 13:47:42 +0000 | [diff] [blame] | 3 | |
| 4 | NAME |
| 5 | ---- |
| 6 | git-sh-i18n--envsubst - Git's own envsubst(1) for i18n fallbacks |
| 7 | |
Ævar Arnfjörð Bjarmason | f5008f5 | 2011-05-29 11:00:35 +0000 | [diff] [blame] | 8 | SYNOPSIS |
| 9 | -------- |
| 10 | [verse] |
| 11 | eval_gettext () { |
| 12 | printf "%s" "$1" | ( |
Jonathan Nieder | 27269fc | 2011-06-29 00:36:48 -0500 | [diff] [blame] | 13 | export PATH $('git sh-i18n{litdd}envsubst' --variables "$1"); |
| 14 | 'git sh-i18n{litdd}envsubst' "$1" |
Ævar Arnfjörð Bjarmason | f5008f5 | 2011-05-29 11:00:35 +0000 | [diff] [blame] | 15 | ) |
| 16 | } |
| 17 | |
Ævar Arnfjörð Bjarmason | ba67aaf | 2011-05-14 13:47:42 +0000 | [diff] [blame] | 18 | DESCRIPTION |
| 19 | ----------- |
| 20 | |
| 21 | This is not a command the end user would want to run. Ever. |
| 22 | This documentation is meant for people who are studying the |
| 23 | plumbing scripts and/or are writing new ones. |
| 24 | |
Jonathan Nieder | 27269fc | 2011-06-29 00:36:48 -0500 | [diff] [blame] | 25 | 'git sh-i18n{litdd}envsubst' is Git's stripped-down copy of the GNU |
Ævar Arnfjörð Bjarmason | ba67aaf | 2011-05-14 13:47:42 +0000 | [diff] [blame] | 26 | `envsubst(1)` program that comes with the GNU gettext package. It's |
| 27 | used internally by linkgit:git-sh-i18n[1] to interpolate the variables |
Jim Meyering | 65c2b2b | 2012-03-28 10:45:36 +0200 | [diff] [blame] | 28 | passed to the `eval_gettext` function. |
Ævar Arnfjörð Bjarmason | ba67aaf | 2011-05-14 13:47:42 +0000 | [diff] [blame] | 29 | |
| 30 | No promises are made about the interface, or that this |
| 31 | program won't disappear without warning in the next version |
| 32 | of Git. Don't use it. |
| 33 | |
| 34 | GIT |
| 35 | --- |
| 36 | Part of the linkgit:git[1] suite |