The variable
*grep-fixed-args*
provides arguments added to the command string in the Grep tool. The value should ensure that the line number is output at the start of each match.
See the Common LispWorks User Guide for more information about the Grep tool.