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