From: Jeff King Date: Sun, 22 May 2016 00:09:11 GMT Subject: Re: t0008 test fails with ksh Message-ID: <20160522000911.GA9676@sigill.intra.peff.net> In-Reply-To: On Fri, May 20, 2016 at 09:03:31AM -0700, Junio C Hamano wrote: > Jeff King 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