git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Junio C Hamano
Message 4 of 4 in “t0008 test fails with ksh”
  1. Armin KunaschikMay 12, 2016
  2. Jeff KingMay 12, 2016
  3. Junio C HamanoMay 20, 2016
  4. Jeff KingMay 22, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.