The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 05-15-2008
era era is online now
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,063
That counts the number of files with PASSED in them, I was under the impression that the number of lines was the interesting number (there could be more than one per file).

Second drl's suggestion;

Code:
cat files | grep -c PASSED
Reply With Quote