From: Johannes Schindelin Date: Sun, 18 Jan 2009 17:44:01 GMT Subject: Re: [PATCH/RFC] git-am: Make it easier to see which patch failed Message-ID: In-Reply-To: <20090118170711.GA17055@coredump.intra.peff.net> Hi. On Sun, 18 Jan 2009, Jeff King wrote: > On Sun, Jan 18, 2009 at 05:17:43PM +0100, Johannes Schindelin wrote: > > > The name "FIRSTLINE" suggests that it is indeed a first line, and > > consequently cannot contain a newline. > > It is not "this is a problem because it might contain a newline" but > "this is a problem because it might contain an escape sequence, _an > example_ of which is a \n newline." So the question is whether you can > guarantee that $FIRSTLINE does not contain a backslash. Which I don't > think is the case here. Oh. Okay, so I was wrong. But only because dash's echo behaves in a strange way: it makes "-e" a noop? Ciao, Dscho