Next: , Previous: Invoking jar, Up: Top


2 Invoking grepjar

The grepjar program can be used to search files in a jar file for a pattern.

-b
Print byte offset of match.
-c
Print number of matches.
-i
Compare case-insensitively.
-n
Print line number of each match.
-s
Suppress error messages.
-w
Force PATTERN to match only whole words.
-e PATTERN
Use PATTERN as regular expression.
--help
Print help, then exit.
-V
--version
Print version number, then exit.