From: Stefano Lattarini Date: Fri, 13 Jul 2012 22:43:15 GMT Subject: Re: Mini bug report origin/pu: t1512 failed on Mac OS X (commit 957d74062c1f0e ?) Message-ID: <5000A483.4090307@gmail.com> In-Reply-To: <7va9z5dgff.fsf@alter.siamese.dyndns.org> On 07/12/2012 01:30 AM, Junio C Hamano wrote: > Junio C Hamano writes: > >> I think the other tests in t/ prefer to unquote it so that we would >> ignore spaces around "wc -l" output, i.e. >> >> test $(wc -l > >> Thanks for a report. > > -- >8 -- > Subject: [PATCH] t1512: ignore whitespaces in wc -l output > > Some implementations of sed (e.g. MacOS X) > 'sed'? Shouldn't this read 'wc'? > have whitespaces in the output of "wc -l" that reads from the standard > input. > FYI, the extra space is present with Solaris wc as well: $ wc -l