From: Brian Gernhardt Date: Fri, 31 Oct 2008 15:38:13 GMT Subject: Re: [PATCH] Avoid using non-portable `echo -n` in tests. Message-ID: In-Reply-To: <7vy70589jc.fsf@gitster.siamese.dyndns.org> On Oct 31, 2008, at 4:15 AM, Junio C Hamano wrote: > Brian Gernhardt writes: > >> Not all /bin/sh have a builtin echo that recognizes -n. Using printf >> is far more portable. > > This is much better (minor nit: we do not care if echo is built-in or > /bin/echo); the point of t4030 is to produce an incomplete line ;-). Well, yes. The reason I phrased it that way was that my /bin/echo recognizes -n but /bin/sh does not. ~~ Brian