A Grep search is used to run an external program to search files and show the results in the tool. Enter the working directory for the external program in the Root Directory box and the complete command line of the external program in the Grep Command box.
Figure 16.4 A Grep search
The external program is typically
, but other programs can be used as long as they print the matched lines in this format:
you generally need to pass the
option and the filename argument
to force it to print the file and line number in all cases. This is done automatically when you invoke the Search Files tool by the Editor command