Lugaru's Epsilon
Editor 14.04

Epsilon User's Manual and Reference
   . . .
   Commands by Topic
      Getting Help
      Moving Around
      Changing Text
      . . .
   Command Reference
      . . .
      . . .
   Variable Reference
      . . .
   . . .

Previous   Up    Next
search-region  Command Reference   select-buffer

Epsilon User's Manual and Reference > Command Reference >


Search multiple files with fewer restrictions.

This command prompts to select from a predefined grep rule set, then runs grep using that rule set. A rule set provides an alternate set of values for one or more of the variables use-grep-ignore-file-variables, grep-ignore-file-extensions; grep-ignore-file-pattern, grep-ignore-file-basename, grep-ignore-file-types, or grep-ignore-file-max-size.

By default, the only rule set is named "all", and it provides a setting of zero for use-grep-ignore-file-variables, meaning it makes Epsilon search all files, not skipping any based on their name or other characteristics.

You can define a new rule set by simply defining a variable whose name is of the form varname-rulesetname. (For example, the default rule set was created by defining a variable named use-grep-ignore-file-variables-all.) The rule set variable should be set to the value for that variable when the rule is applied. For example, you could make a rule that skips only .bak files by defining a character array variable named grep-ignore-file-extensions-nobakfiles and setting it to "|.bak|". The rule set name "nobakfiles" will then automatically appear in this command's rule set list.

More info:

Searching Multiple Files

Previous   Up    Next
search-region  Command Reference   select-buffer

Lugaru Epsilon Programmer's Editor 14.04 manual. Copyright (C) 1984, 2021 by Lugaru Software Ltd. All rights reserved.