

NextPrevUpTopContentsIndex Grep searches

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 grep.exe , but other programs can be used as long as they print the matched lines in this format:

filename:line-number line-text

When using grep.exe you generally need to pass the -n option and the filename argument NUL 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 Grep .

LispWorks IDE User Guide (Windows version) - 22 Dec 2009