Option 'N' --> Output Expression Number.  If QTGrep is searching for more
  than one Regular Expression or Keyword, then it may be difficult or
  impossible to tell which matched the string in the output record.  This is
  especially true when it is possible for more than one Regular Expression or
  Keyword to match the string in a given record.  When it is important to be
  able to know which pattern matched the output record or match string, this
  option forces QTGrep to output with the matched record, the number of the
  Regular Expression or Keyword which produced the match.

  The format of the output is:
    eeeeeeE: matching record
| |
-------- Expression Number Field

  The expression number field is always six, 6, digits wide.  The expression number is left justified and blank filled in the field.  'E:'  immediately follows the expression number.

The order of output is as follows:
  1. Filename ('h' option)
  2. Expression Number  ('g' option)
  3. Match String Index ('x' option)
  4. Match String Length ('x' option)
  5. Record Number ('n' option)
  6. Match Record or String ('t' 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