Option 's' --> Count of Matchs, All Files.  Normally QTGrep does not output the count of matches found.  If a count only is desired after each file and a cumulative count after all files, then the 'c' option should be used.  If, in addition to the normal output, a count is desired after each file and a cumulative count after all files, then the 'k' option should be used.  If, in addition to the normal output, a cumulative count after all files is desired, then this option should be used.  The format is:
  Total         Matches: mmmmmmmmmmmm
Pattern 1 Count: ccccc1 - User Specified Comment for Pattern 1
Pattern 2 Count: ccccc2 - User Specified Comment for Pattern 2
Pattern 3 Count: ccccc3 - User Specified Comment for Pattern 3
Pattern 4 Count: ccccc4 - User Specified Comment for Pattern 4
Pattern 5 Count: ccccc5 - User Specified Comment for Pattern 5
Total Records Matched: llllllllllll
Total Records Scanned: ssssssssssss
  where: mmmmmmmmmmmm == Number of Matches in File
         cccccx       == Number of Matches for Pattern Number x
         llllllllllll == Number of Records Containing Matches in File
         ssssssssssss == Number of Records in File

Note:  mmmmmmmmmmm and llllllllllll may not be equal if the 'a' option is active.

Note: mmmmmmmmmmmm will equal the summ of all pattern counts, cccccx.
     mmmmmmmmmmmm == ccccc1 + ccccc2 + ccccc3 + ...

Note:  The individual Pattern counts are output only if more than one pattern has been specified for searching.  The user comment appended to the end of each pattern count is specified in pattern files using the 'm' command.

Incompatible Options Are:
W
Write Compiled Search Patterns
Z
File  Preview


© Terry D. Boldt 1997-2005
All Rights Reserved
Last Updated: Feb. 03, 2005