Hi.
On Sun, 18 Jan 2009, Jeff King wrote:
On Sun, Jan 18, 2009 at 05:17:43PM +0100, Johannes Schindelin wrote:
quoted
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