git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* POSIX woes in t7810.87: dash bash or bash dash?
@ 2011-06-20  9:58 Michael J Gruber
  2011-06-20 11:04 ` Jonathan Nieder
  2011-06-20 21:46 ` Junio C Hamano
  0 siblings, 2 replies; 7+ messages in thread
From: Michael J Gruber @ 2011-06-20  9:58 UTC (permalink / raw)
  To: Git Mailing List

GNU bash, Version 4.2.10(1)-release (x86_64-redhat-linux-gnu):

echo "a\"b\n\"c"
a"b\n"c

dash-0.5.6:

echo "a\"b\n\"c"
a"b
"c

t7810.87 breaks with dash because of this. Escaping the \n does not make
the test work with both either. So I'd like to know which one's right
and (independently) how to make it work for both...

Cheers,
Michael

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-06-21  0:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-20  9:58 POSIX woes in t7810.87: dash bash or bash dash? Michael J Gruber
2011-06-20 11:04 ` Jonathan Nieder
2011-06-20 17:13   ` Jeff King
2011-06-20 21:46 ` Junio C Hamano
2011-06-20 23:24   ` Jeff King
2011-06-20 23:31     ` Junio C Hamano
2011-06-21  0:21       ` Jeff King

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 NNTP newsgroup(s).