NextPrevUpTopContentsIndex

15.2.1.4 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 15.3 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 .


Common LispWorks User Guide (Windows version) - 21 Feb 2008

NextPrevUpTopContentsIndex