Re: [PATCH] Avoid using non-portable `echo -n` in tests.
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 31, 2008, 08:20 UTC
- Message-ID
- <7vtzat89br.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <1225429753-70109-1-git-send-email-benji@silverinsanity.com>
Brian Gernhardt <benji@silverinsanity.com> writes:
Show 5 quoted lines
> 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?