Option 'C' --> Cumulative Match/Record Count. Normally QTGrep
only outputs the cumulative match and record count at the end of each
file, option 'k', or at the end of the last file, option 's'.
This option allows the user to force QTGrep to output the cumulative
count at the time this flag
is recognized. The output of this option is identical to the
output for the 's' option. 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: mmmmmm and llllll may not be equal if the 'a' option
is active and/or if any matches spann multiple records
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.
The corresponding long option is: --cumulative-record-count=(on|off)
Incompatible Options Are:
W
|
Write Compiled Search Patterns
|
Z
|
File Preview
|
r
|
Replace Matches (Req Pat File)
|
z
|
Simulate Replace Matches
|
© Terry D. Boldt 1997-2005
All Rights Reserved
Last Updated: Nov. 26, 2005