Re: [PATCH] Fix use of wc in t0000-basic
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 21, 2005, 10:53 UTC
- Message-ID
- <7vhdgwj1ed.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <E1DZRMi-00021X-00@gondolin.me.apana.org.au>
>>>>> "HX" == Herbert Xu <herbert@gondor.apana.org.au> writes:
HX> It's also better to use -eq instead of = since you are comparing HX> numbers, not strings. If you do that you can keep the double HX> quotes since the spaces will be removed automatically.
I remember being burned by busybox "test" which did not ignore spaces. I do not know if the latest one is fixed, though.