public class Grep
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static int |
grep(java.lang.String[] argv,
RESyntax syntax,
java.io.PrintStream out)
Runs Grep with the specified arguments.
|
static void |
main(java.lang.String[] argv)
Invokes the grep() function below with the command line arguments
and using the RESyntax.RE_SYNTAX_GREP syntax, which attempts to
emulate the traditional UNIX grep syntax.
|
public static void main(java.lang.String[] argv)
public static int grep(java.lang.String[] argv, RESyntax syntax, java.io.PrintStream out)