find blah blah blah | xargs grep orderNumber | wc -l # Update: # or even: find blah blah blah | xargs grep -c orderNumber | awk '{tot+=$1} END{print tot}'
In reply to Re: Perl 'pipe' problem (or sh monks)
by runrig
in thread Perl 'pipe' problem
by mifflin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |