Option 'V' --> Verbose 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
Match Count: mmmmmm
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
Matching Record Count: llllll
Records Scanned: ssssss
where: mmmmmm == Number of Matches in File
cccccx == Number of
Matches
for Pattern Number x
llllll == Number of
Records
Containing Matches in File
ssssss == Number of
Records
in File
]
Note: mmmmmm and llllll may not be equal if the 'w' option is
active
and/or if any matches spann multiple records
Note: mmmmmm will equal the summ of all pattern counts, cccccx.
mmmmmm == 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 filename is output only if more than one file is scanned for
matches
or the 'h' option is not invoked.
Note: Refer to the 'c' option for a non-verbose count only output.
Note : If both the matching records and the match count are
desired
then the 'k' option should be used.
Incompatible Options Are:
W
|
Write Compiled Search Patterns
|
Z
|
File Preview
|
c
|
Count of Matches Only
|
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: Feb. 03, 2005