From: Ævar Arnfjörð Bjarmason Date: Mon, 09 May 2011 07:52:09 GMT Subject: Re: [PATCH 1/4] git-sh-i18n--envsubst: our own envsubst(1) for eval_gettext() Message-ID: In-Reply-To: <7vsjsor29t.fsf@alter.siamese.dyndns.org> On Mon, May 9, 2011 at 05:17, Junio C Hamano wrote: > Ævar Arnfjörð Bjarmason 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).