Option 'j' --> Filename Field to Specified Width. Normally
QTGrep
outputs the filename of the file being scanned with each record
containing
a match. The width of the field containing the filename is normally the
exact
width of the filename and thus could vary with each file scanned.
If
the user desires to have the filename field of the same width for all
files,
e.g., for sorting purposes, this option allows the user to specify the
desired
width. The width to be specified follows the normal QTGrep method
of
specifying values for options. If a zero field width is
specified,
the field width will revert to the length of the filename for each
file.
The following command lines will specify a width for the filename of 15
characters:
-j(15)
-j(15
-j 15
For more information on specifying a value for options, please refer to
the
'?=' option.
The order of output is as follows:
- Filename ('h' option)
- Expression Number('N' option)
- Match String Index ('I' option)
- Match String Length ('I' option)
- Record Number ('n' option)
- 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