Re: [PATCH] Fix use of wc in t0000-basic
- From
Daniel Barkalow <barkalow@iabervon.org>
- Date
- May 21, 2005, 01:16 UTC
- Message-ID
- <Pine.LNX.4.21.0505202113500.30848-100000@iabervon.org>
- In-Reply-To
- <4616.10.10.10.24.1116637985.squirrel@linux1>
On Fri, 20 May 2005, Sean wrote:
> Yes, i was. But presumably someone was stripping the whitespace from wc > for a reason? Either way the sed-only solution seems a little cleaner.
Junio was stripping the filename (not whitespace) from wc, not knowing that it could be suppressed by using stdin. This didn't work with versions of wc that put whitespace at the beginning. I think the sed-only solution is far more obscure and no cleaner than cat and wc.
-Daniel *This .sig left intentionally blank*