Re: [PATCH 1/4] git-sh-i18n--envsubst: our own envsubst(1) for eval_gettext()
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 9, 2011, 03:17 UTC
- Message-ID
- <7vsjsor29t.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <BANLkTikSvU4haNpRmPq8o2P0yB1Y3t0Ahg@mail.gmail.com>
Æ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.