Option 'c' --> Count of Matches Only.  By default QTGrep outputs all records matching the search patterns.  If it is desired to know only the number of records containing matches to the search patterns, then this option forces QTGrep not to output the records containing matches, but only the count.

The format of the output at the end of each file is:
Filename: count
Note: Refer to the 'V' option for a verbose count only output.

Note :  If both the matching records and the match count are desired then the 'k' option should be used.

The corresponding long option is: --count=(on|off)

Incompatible Options Are:
V
Verbose Count of Matches Only
W
Write Compiled Search Patterns
Z
File  Preview
h
No Filename Headers
q
Query, Output Search Expressions
r
Replace Matches (Req Pat File)
v
Output Only Records Not Matching
z
Simulate Replace Matches


© Terry D. Boldt 1997-2005
All Rights Reserved
Last Updated: Nov. 26, 2005