My favorites | Sign in
Project Logo
                
Search
for
Updated Jun 09, 2008 by lukas.zapletal
Labels: usage
Usage  
Usage and examples.

Usage

# java -jar mfgrep.jar

usage: java -jar mfgrep.jar PATTERN FILE1 [FILE2] [DIR1] ...
 -cs   Case SENSITIVE search.
 -ex   Extensions to look into separated by commas (default: jar,sar,war,ear).
 -li   Shows LICENSE information.
 -nr   Do NOT recurse into directories.

Examples

java -jar mfgrep.jar "implementation-version" lib/

Find "implementation-version" in the JAR,SAR,WAR,EAR files under lib/ directory and print a report on the console.

java -jar mfgrep.jar ".NT" lib/junit lib/other/mylib.jar

Find the regular expression ".NT" (using Java Regular Expressions) under lib/junit directory and mylib.jar file.


Sign in to add a comment
Hosted by Google Code