From: Junio C Hamano Date: Fri, 20 May 2016 16:03:31 GMT Subject: Re: t0008 test fails with ksh Message-ID: In-Reply-To: <20160512182055.GB13886@sigill.intra.peff.net> 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. > 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.