|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectGrep
public final class Grep
Searches the input file (or standard input if no file is given) for lines containing the given pattern and prints these lines.
Usage: java Grep PATTERN [FILE]
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Searches the input file (argv[1] or standard input if no file is given) for lines containing the given pattern (argv[0]) and prints these lines. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void main(java.lang.String[] args)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |