From: Junio C Hamano Date: Mon, 09 May 2011 03:17:18 GMT Subject: Re: [PATCH 1/4] git-sh-i18n--envsubst: our own envsubst(1) for eval_gettext() Message-ID: <7vsjsor29t.fsf@alter.siamese.dyndns.org> In-Reply-To: Æ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.