/autoztool

Automatic decompression via LD_PRELOAD

Primary LanguageShellGNU General Public License v2.0GPL-2.0

autoztool - automatic inline decompression tool
-----------------------------------------------

Autoztool contains a command called "z", which executes the command
found on its command line, in an environment in which compressed files
are automatically and mostly transparently decompressed when they are
opened for reading.

The intent is to use it with commands like less(1) to enable graceful
handling of compressed files (the zless wrapper has a much less
convenient multi-file interface).

Supported Systems
-----------------

Works for me on Debian GNU/Linux and FreeBSD.
Works (with some limitations!) on OS X (not tested on PPC).

Installation
------------

To install in PREFIX:

  make prefix=PREFIX
  make prefix=PREFIX install         # as root if appropriate

If prefix is not overridden, /usr/local is assumed.

On FreeBSD, use gmake.

Feedback
--------

Please send suggestions and bug reports to:

  Richard Kettlewell <rjk@greenend.org.uk>

Copying
-------

Copyright (C) 2001, 2003, 2010, 2011, 2014, 2015 Richard Kettlewell

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA