Re: t0008 test fails with ksh
- From
Jeff King <peff@peff.net>
- Date
- May 22, 2016, 00:09 UTC
- Message-ID
- <20160522000911.GA9676@sigill.intra.peff.net>
- In-Reply-To
- <xmqqr3cwg1ik.fsf@gitster.mtv.corp.google.com>
On Fri, May 20, 2016 at 09:03:31AM -0700, Junio C Hamano wrote:
Show 13 quoted lines
> Jeff King <peff@peff.net> writes:
>
> > ... 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.Yeah, that was my reading, too (sorry, my question was mostly rhetorical; imagine me reading it in an exaggerated surprised "woah, what's this?" voice. :) ).
-Peff