Ruby latest stable (v1_9_3_392) - 0 notes - Class: FileList
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.