Re: [PATCH] Avoid using non-portable `echo -n` in tests.
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 31, 2008, 08:15 UTC
- Message-ID
- <7vy70589jc.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <1225429753-70109-1-git-send-email-benji@silverinsanity.com>
Brian Gernhardt <benji@silverinsanity.com> 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 ;-).
Will queue, thanks.