Re: [PATCH 1/4] git-sh-i18n--envsubst: our own envsubst(1) for eval_gettext()

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH 1/4] git-sh-i18n--envsubst: our own envsubst(1) for eval_gettext()

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:51:11

Ævar Arnfjörð Bjarmason [off-list ref] 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.

Re: [PATCH 1/4] git-sh-i18n--envsubst: our own envsubst(1) for eval_gettext()

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2016-06-15 22:51:12

On Mon, May 9, 2011 at 05:17, Junio C Hamano [off-list ref] wrote:
Ævar Arnfjörð Bjarmason [off-list ref] writes:
quoted
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).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help