Re: t0090-cache-tree fails due to wc whitespace
- From
Stefano Lattarini <stefano.lattarini@gmail.com>
- Date
- Dec 14, 2011, 14:57 UTC
- Message-ID
- <201112141557.26794.stefano.lattarini@gmail.com>
- In-Reply-To
- <7F1792D2-8ED4-4546-8ED4-52B95E0AE9FC@silverinsanity.com>
On Wednesday 14 December 2011, Brian Gernhardt wrote:
Show 5 quoted lines
> It's time for my periodic complaint: People assuming `wc -l` > outputs just a number. wc on OS X (and perhaps other BSD-like > systems) always aligns the output in columns, even with the -l > flag. >
It surely does so on Solaris 10 as well:
$ echo x | wc -l
1
$ for i in {1..1000}; do echo x; done | wc -l
1000Regards, Stefano