Re: [PATCH 1/4] git-sh-i18n--envsubst: our own envsubst(1) for eval_gettext()
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- May 9, 2011, 07:52 UTC
- Message-ID
- <BANLkTino5PpXY8eD+T3Ki+2Xn1MLjZojTQ@mail.gmail.com>
- In-Reply-To
- <7vsjsor29t.fsf@alter.siamese.dyndns.org>
On Mon, May 9, 2011 at 05:17, Junio C Hamano <gitster@pobox.com> wrote:
Show 8 quoted lines
> Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes: > >> Or are we sure that this can't work in POSIX (or non-POSIX shells)? > > You need to implement the same logic to tokenize enough to understand the > expansion the shell does inside dq. Yes, shell is general programming > language and you can theoretically implement it, but would the result be a > practical solution? I doubt it.
I'll write a better commit message and re-send this soon (after some other comments have trickled in).