method

egrep

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: FileList

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_2_9) is shown here.

egrep(pattern, *options) public

Grep each of the files in the filelist using the given pattern. If a block is given, call the block on each matching line, passing the file name, line number, and the matching line of text. If no block is given, a standard emacs style file:linenumber:line message will be printed to standard out. Returns the number of matched items.

Show source
Register or log in to add new notes.