This works just as well:And would be a useless use of cat as well.cat files | grep -hc pattern
-- Randal L. Schwartz, Perl hacker
In reply to Re: Re: sum of counts from unix grep -c
by merlyn
in thread sum of counts from unix grep -c
by sacked
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |