zsh-users
 help / color / mirror / code / Atom feed
From: Marc.Baudoin@hsc.fr (Marc Baudoin)
To: jarausch@igpm.rwth-aachen.de (Helmut Jarausch)
Cc: zsh-users@math.gatech.edu
Subject: Re: How to gunzip a binary on the fly
Date: Fri, 27 Dec 1996 16:52:18 +0100	[thread overview]
Message-ID: <Mutt.19961227165218.babafou@skiff.hsc.fr> (raw)
In-Reply-To: <jarausch-961227160137.A0117741@numa1>; from Helmut Jarausch on Dec 27, 1996 16:01:38 +0100

Helmut Jarausch <jarausch@igpm.rwth-aachen.de> écrit :
> 
> does anybody know how to gunzip a gzipped binary file just for executing
> it.

Did you try gzexe (comes standard with gzip)?  Its man page says:

[...]

NAME
       gzexe - compress executable files in place

DESCRIPTION
       The  gzexe  utility  allows you to compress executables in
       place and have them automatically uncompress  and  execute
       when  you  run  them  (at  a penalty in performance).  For
       example if you execute ``gzexe /bin/cat'' it  will  create
       the following two files:
           -r-xr-xr-x  1 root  bin   9644 Feb 11 11:16 /bin/cat
           -r-xr-xr-x  1 bin   bin  24576 Nov 23 13:21 /bin/cat~
       /bin/cat~  is  the original file and /bin/cat is the self-
       uncompressing executable file.  You can  remove  /bin/cat~
       once you are sure that /bin/cat works properly.

       This  utility  is  most  useful on systems with very small
       disks.

[...]

-- 
Marc Baudoin   -=-   <Marc.Baudoin@hsc.fr>
Hervé Schauer Consultants


  reply	other threads:[~1996-12-27 15:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-12-27 15:01 Helmut Jarausch
1996-12-27 15:52 ` Marc Baudoin [this message]
1996-12-27 19:09 ` Szekeres Istvan
1996-12-27 20:03   ` Zoltan Hidvegi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Mutt.19961227165218.babafou@skiff.hsc.fr \
    --to=marc.baudoin@hsc.fr \
    --cc=jarausch@igpm.rwth-aachen.de \
    --cc=zsh-users@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).