gnu.regexp.util

Class Egrep

public class Egrep extends Object

This is a front end to the gnu.regexp.util.Grep class which sets the syntax used to RE_SYNTAX_EGREP, which aims to emulate the standard UNIX egrep command.

Version: 1.01

Author: Wes Biggs

UNKNOWN: gnu.getopt

Method Summary
static voidmain(String[] argv)
Invokes Grep.grep() using the RE_SYNTAX_EGREP syntax and the command line arguments specified.

Method Detail

main

public static void main(String[] argv)
Invokes Grep.grep() using the RE_SYNTAX_EGREP syntax and the command line arguments specified. Output is sent to System.out. For a list of options, use the argument "--help".