Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Go Shell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
README.md
grepj.go
release.sh

README.md

grepj

grepj searches for a class within jar files.

Specification

grepj <class-file-name> <file 1> ... <file n>

class-name is searched in the files provided. At least one file is required for a search.

The format of the class name is like foo.bar.Baz where foo.bar is the package name and Baz is the class name.

The files provided need to be valid jar, war, ear or zip files that can be read. Class files will be searched in nested locations as well. For example jar files in WEB-INF/lib of a war file will be searched. WEB-INF/classes will also be searched.

If the class file exists in the file provided, the file is output.

Download

Operating System Architecture
Windows 64 bit Download
Windows 32 bit Download
Linux 64 bit Download
Linux 32 bit Download
Mac 64 bit Download
Mac 32 bit Download

Exit codes

  • 0 for class-file-name found in any of the files
  • 1 for no match found
  • 2 for any other errors
Something went wrong with that request. Please try again.