On 07/12/2012 01:30 AM, Junio C Hamano wrote:
> Junio C Hamano <[email protected]> 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 <actual) = 16
>>
>> 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 </dev/null
0
Regards,
Stefano
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html