in reply to Re: sum of counts from unix grep -c
in thread sum of counts from unix grep -c

This works just as well:
cat files | grep -hc pattern
And would be a useless use of cat as well.

-- Randal L. Schwartz, Perl hacker