1 <?xml version="1.0" encoding="UTF-8"?>
\r
2 <!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
\r
4 <sect2 lang="en" id="git-sh-i18n--envsubst(1)">
\r
5 <title>git-sh-i18n--envsubst(1)</title>
\r
7 <primary>git-sh-i18n--envsubst(1)</primary>
\r
9 <simplesect id="git-sh-i18n--envsubst(1)__name">
\r
11 <simpara>git-sh-i18n--envsubst - Git's own envsubst(1) for i18n fallbacks</simpara>
\r
13 <simplesect id="git-sh-i18n--envsubst(1)__synopsis">
\r
14 <title>SYNOPSIS</title>
\r
16 <literallayout>eval_gettext () {
\r
17 printf "%s" "$1" | (
\r
18 export PATH $(<emphasis>git sh-i18n--envsubst</emphasis> --variables "$1");
\r
19 <emphasis>git sh-i18n--envsubst</emphasis> "$1"
\r
24 <simplesect id="git-sh-i18n--envsubst(1)__description">
\r
25 <title>DESCRIPTION</title>
\r
26 <simpara>This is not a command the end user would want to run. Ever.
\r
27 This documentation is meant for people who are studying the
\r
28 plumbing scripts and/or are writing new ones.</simpara>
\r
29 <simpara><emphasis>git sh-i18n--envsubst</emphasis> is Git's stripped-down copy of the GNU
\r
30 <emphasis>envsubst(1)</emphasis> program that comes with the GNU gettext package. It's
\r
31 used internally by <xref linkend="git-sh-i18n(1)" /> to interpolate the variables
\r
32 passed to the <emphasis>eval_gettext</emphasis> function.</simpara>
\r
33 <simpara>No promises are made about the interface, or that this
\r
34 program won't disappear without warning in the next version
\r
35 of Git. Don't use it.</simpara>
\r
37 <simplesect id="git-sh-i18n--envsubst(1)__git">
\r
39 <simpara>Part of the <xref linkend="git(1)" /> suite</simpara>
\r