Option 'P' --> Noprompt, Patterns from Std Input. Normally
QTGrep
reads the search pattern from either the command line or a pattern file
specified
via the 'f' option. In some cases, the user may desire to read
the
search patterns from the Standard Input File. For example when
redirecting
or piping them from another application program or typing them at the
console.
In either case, this option, and the 'p' option, will read the search
patterns
from the Standard Input File. With this option no prompt is sent
to
the Standard Error File Before reading from the Standard Input File.
This
is done so that if the user is activating QTGrep from a batch file or
another
application program, a custom prompt may be issued if necessary.
An end-of-file, <Ctrl-Z> when input from the keyboard, or a blank
line,
will terminate the input of search expressions. Note especially
that
a blank line will terminate the input. The user should be very
careful
of this restriction and ensure that the redirected or piped input does
not
contain any unwanted blank lines.
This option cannot be specifed in conjunction with the 'p'
option.
All search pattern file commands are active as with the 'f'
option.
See the '-?#' option for an explanation of the search pattern file
commands.
Incompatible Options Are:
Z
|
File Preview
|
f
|
File for Search Patterns
|
p
|
Prompt, Patterns from Std Input
|
© Terry D. Boldt 1997-2005
All Rights Reserved
Last Updated: Feb. 03, 2005