Next Prev Up Top Contents Index

21.2.1 Specifying the grep command manually

There are two ways to specify the grep command in the search browser:

  1. Type the grep command that you would specify at the UNIX command line into the Grep command area
  2. Select Command > Set Grep Args and optionally Command > Set Grep Directory .

Then click on to perform the grep command.

Remember to specify the full pathname of any files that you wish to search. When using the pop-up menu, by default the Grep browser specifies the -n argument to grep which ensures that the line number is printed alongside any matches. This allows you to display the relevant source code by double-clicking on a match. This argument is specified automatically when you invoke the search browser by typing Meta-X grep .

If you choose not to specify the -n argument, a ? symbol is printed alongside any matches found. You cannot double-click on any of these matches to display the relevant source code.


Common LispWorks User Guide - 14 Dec 2001

Next Prev Up Top Contents Index