GREPJAR(1) GNU GREPJAR(1)

# [NAME](#NAME)

grepjar - search files in a jar file for a pattern

# [SYNOPSIS](#SYNOPSIS)

grepjar \[**-bcinsw**] **-e** *PATTERN* | *PATTERN* *files*...

# [DESCRIPTION](#DESCRIPTION)

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

# [OPTIONS](#OPTIONS)

[**-b**](#b)

Print byte offset of match.

[**-c**](#c)

Print number of matches.

[**-i**](#i)

Compare case-insensitively.

[**-n**](#n)

Print line number of each match.

[**-s**](#s)

Suppress error messages.

[**-w**](#w)

Force *PATTERN* to match only whole words.

[**-e** *PATTERN*](#e)

Use *PATTERN* as regular expression.

[**--help**](#help)

Print help, then exit.

[**-V**](#V)

[**--version**](#version)

Print version number, then exit.

# [SEE ALSO](#SEE_ALSO)

[*fastjar*(1)](/man/os/fastjar/fastjar.1), [*gcj*(1)](/man/os/fastjar/gcj.1), [*gij*(1)](/man/os/fastjar/gij.1), [*gfdl*(7)](/man/os/fastjar/gfdl.7) and the Info entry for *gcj*.

# [COPYRIGHT](#COPYRIGHT)

Copyright (C) 2002, 2007, 2008 Matthias Klose

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. A copy of the license is included in the man page [*gfdl*(7)](/man/os/fastjar/gfdl.7).

2008-10-16 0.97

---

Document: grepjar(1) from fastjar 0.98-r6 (Chainguard OS)
Source: https://download.savannah.nongnu.org/releases/fastjar/fastjar-0.98.tar.gz
