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.



Reply via email to