From: Junio C Hamano Date: Fri, 31 Oct 2008 08:20:24 GMT Subject: Re: [PATCH] Avoid using non-portable `echo -n` in tests. Message-ID: <7vtzat89br.fsf@gitster.siamese.dyndns.org> In-Reply-To: <1225429753-70109-1-git-send-email-benji@silverinsanity.com> Brian Gernhardt writes: > Not all /bin/sh have a builtin echo that recognizes -n. Using printf > is far more portable. > > Discovered on OS X 10.5.5 in t4030-diff-textconv.sh and changed in all > the test scripts. I had an impression that OS X was BSDish. Wasn't "echo -n" a BSDism?