Option 'M' --> Output Match String.  QTgrep normally outputs the records containing the strings matching the search patterns (Regular Expressions or Keywords).  If the user desires to output instead just the strings matching the search patterns, then this option should be invoked.  The format for the output is the same except that only the matching string is output and not the entire record.

The order of output is as follows:
  1. Filename ('h' option)
  2. Expression Number ('N' option)
  3. Match String Index ('I' option)
  4. Match String Length ('I' option)
  5. Record Number ('n' option)
  6. Match Record or String ('M' option)
This is a local option and may be turned on or off for separate files as desired.

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: Feb. 03, 2005