From: Jeff King Date: Tue, 03 Jul 2007 14:32:27 GMT Subject: Re: [PATCH] stash: end commit log with a newline Message-ID: <20070703143227.GD18597@coredump.intra.peff.net> In-Reply-To: On Tue, Jul 03, 2007 at 12:29:42PM +0100, Johannes Schindelin wrote: > Why not > > w_commit=$(echo "WIP on $msg" | > > Hmm? It is shorter and more to the point. IMHO it is also more common. Because echo cannot reliably reproduce arbitrary strings. See commits: a23bfaed..4b7cc26a You can add this to your list of reasons to rewrite everything in C. -Peff