From: Stefano Lattarini Date: Wed, 14 Dec 2011 14:57:26 GMT Subject: Re: t0090-cache-tree fails due to wc whitespace 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: > 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 1000 Regards, Stefano