This is ../fastjar/fastjar.info, produced by makeinfo version 4.11 from ../fastjar/fastjar.texi.

INFO-DIR-SECTION Programming
START-INFO-DIR-ENTRY
* fastjar: (fastjar).       GNU jar utilities
END-INFO-DIR-ENTRY

INFO-DIR-SECTION Individual utilities
START-INFO-DIR-ENTRY
* fastjar: (fastjar)Invoking fastjar.
                            An archive tool for Java archives
* grepjar: (fastjar)Invoking grepjar.
                            Search files in a jar file for a pattern
END-INFO-DIR-ENTRY

   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 section
entitled "GNU General Public License".


File: fastjar.info,  Node: Top,  Next: Invoking fastjar,  Up: (dir)

Introduction
************

This manual describes how to use `fastjar' and `grepjar'.

* Menu:

* Invoking fastjar::	Options supported by `fastjar'
* Invoking grepjar::    Options supported by `grepjar'


File: fastjar.info,  Node: Invoking fastjar,  Next: Invoking grepjar,  Prev: Top,  Up: Top

1 Invoking fastjar
******************

`fastjar' is an implementation of Sun's jar utility that comes with the
JDK, written entirely in C, and runs in a fraction of the time while
being feature compatible.

   If any file is a directory then it is processed recursively.  The
manifest file name and the archive file name needs to be specified in
the same order the `-m' and `-f' flags are specified.

   Exactly one of the following actions must be specified:

`-c'
     Create new archive.

`-t'
     List table of contents for archive.

`-x'
     Extract named (or all) files from archive.

`-u'
     Update existing archive.


   The following parameters are optional:

`-@'
     Read the names of the files to add to the archive from stdin.  This
     option is supported only in combination with `-c' or `-u'.  Non
     standard option added in the GCC version.

`-C DIRECTORY'
     Change to the DIRECTORY and include the following file.

`-E'
     Prevent fastjar from reading the content of a directory when
     specifying one (and instead relying on the provided list of files
     to populate the archive with regard to the directory entry). Non
     standard option added in the GCC version.

`-M'
     Do not create a manifest file for the entries.

`-i'
     Generate an index of the packages in this jar and its Class-Path.

`-J'
     All options starting with `-J' are ignored.

`-0'
     Store only; use no ZIP compression.

`-V'
`--version'
     Display version information.

`-f ARCHIVE'
     Specify archive file name.

`-m MANIFEST'
     Include manifest information from specified MANIFEST file.

`-v'
     Generate verbose output on standard output.


   Parameters of the form `@'FILE are considered to be names of files,
and are expanded with the contents of the file.

   All remaining options are considered to be names of files.


File: fastjar.info,  Node: Invoking grepjar,  Prev: Invoking fastjar,  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.



Tag Table:
Node: Top865
Node: Invoking fastjar1139
Node: Invoking grepjar3091

End Tag Table
