PTVGREP 2.5 is a small global file search program. It is a component of PTVIEW.

The command line is:
ptvgrep [-c] [-r] [-0] [-1] [-s] [-d <directory>] <pattern> <filters>

The key words are:
directory -- The directory in which files are to be searched.
pattern -- The pattern to search for. It can be a regular expression.
           E.g. StartWith.*
filters -- Space seperated file name filters. Each filter can be prefixed by
           directory path.
           E.g. *.c ..\*.c sub_dir\*.c c:\abs_dir\*.c

None [-0] -- Only look for file with matching file name.
Once [-1] -- Only search for the first occurance of the pattern.
All -- Search for all occurances of the pattern.

RE [-r] -- Pattern is a regular expression.
Case [-c] -- Case of the pattern matters.
Recurse [-s] -- Should search sub-directories.

To specify the editor to use, change win.ini as:
[PTVGREP]
PTVGREP_EDITOR=<editor path>

