Re: [PATCH] Fix use of wc in t0000-basic
- From
Sean <seanlkml@sympatico.ca>
- Date
- May 21, 2005, 01:13 UTC
- Message-ID
- <4616.10.10.10.24.1116637985.squirrel@linux1>
- In-Reply-To
- <Pine.LNX.4.21.0505202109460.30848-100000@iabervon.org>
On Fri, May 20, 2005 9:10 pm, Daniel Barkalow said:
Show 10 quoted lines
> On Fri, 20 May 2005, Sean wrote: > >> You can't do "wc -l filename" because some versionso of "wc" then >> include >> the filename in their output and confuse things. That was the reason >> to >> use "cat" in the first place. > > You're reading my patch backwards. >
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.
Sean