Go to the first, previous, next, last section, table of contents.


Using Grep

It is often very useful to grep through a set of files looking for a regular expression, this is what the grep command does. With Jade it is possible to run an external grep program in the *compilation* buffer. This then enables you to step through each grep hit using the Ctrl-x ` command, section Finding Errors.

The commands to use grep are,

Meta-x grep
Prompt for a string of arguments to give grep, you do not need to provide the name of the program, or the `-n' switch, this is done automatically. The shell will do any filename-globbing on the arguments so it is advisable to surround the regular expression with single quotes. Note that the regular expression syntax will be different to that which Jade uses. Also this command won't work on an Amiga.
Meta-x grep-buffer
This command provides a method for scanning the current buffer for all lines matching a regular expression (which you are prompted for). It is written entirely in Lisp -- this means that the normal regular expression syntax is needed and it will work on an Amiga.


Go to the first, previous, next, last section, table of contents.