Re: t0008 test fails with ksh
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 20, 2016, 16:03 UTC
- Message-ID
- <xmqqr3cwg1ik.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20160512182055.GB13886@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 7 quoted lines
> ... However,
> the double-quote character ( '"' ) shall not be treated specially
> within a here-document, except when the double-quote appears within
> "$()", "``", or "${}".
>
> So OK, that sounds like ksh is doing the right thing. But what's that
> "specially" in the last sentence?I would say: Just like \X is passed thru as-is without losing \, \" is passed thru without losing \, because " is not special, just like X is not special.
> Anyway, it doesn't really matter what the standard says. We can spell > this in a less ambiguous way, and it does not hurt too much to do so.
Yes.