git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Jeff King <peff@peff.net>
To: Junio C Hamano <gitster@pobox.com>
Cc: Armin Kunaschik <megabreit@googlemail.com>,
	Git List <git@vger.kernel.org>
Subject: Re: t0008 test fails with ksh
Date: Sat, 21 May 2016 19:09:11 -0500	[thread overview]
Message-ID: <20160522000911.GA9676@sigill.intra.peff.net> (raw)
In-Reply-To: <xmqqr3cwg1ik.fsf@gitster.mtv.corp.google.com>

On Fri, May 20, 2016 at 09:03:31AM -0700, Junio C Hamano wrote:

> 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

      reply	other threads:[~2016-05-22  0:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-12 17:53 t0008 test fails with ksh Armin Kunaschik
2016-05-12 18:20 ` Jeff King
2016-05-20 16:03   ` Junio C Hamano
2016-05-22  0:09     ` Jeff King [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160522000911.GA9676@sigill.intra.peff.net \
    --to=peff@peff.net \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=megabreit@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).