15.2.1 Grep arguments

As a general rule, you supply two or three arguments:

  1. (optional) flags to pass to grep such as -i for a case-insensitive search, and
  2. (required) a grep expression to search for, and
  3. (required) a list of files, or a pattern expanding into a list files, to search.

The Grep Browser appears. Any matches that are found are displayed in the main area.

Note: The Grep Browser needs the grep command to return filenames and line numbers in order to work correctly. This is why it adds the grep option -n and the filename argument NUL to the command you specify.

Common LispWorks User Guide (Windows version) - 5 Jul 2006