Subject: Re: bug#6356: How to avoid showing the 'total' line with wc -l?

From: Davide Brini <[email-masked]>
Date: Sat, 5 Jun 2010 18:41:44 +0100

On Saturday 05 June 2010, Peng Yu wrote:

> When I use wc -l *.txt, it show the total number of lines at the end.
> I don't necessary need this last line. Is there a way to disable it?

It's dictated by POSIX. You can try

wc -l *.txt | head -n -1

-- 
D.