From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19784 invoked from network); 27 Dec 1996 15:58:56 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by coral.primenet.com.au with SMTP; 27 Dec 1996 15:58:56 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id KAA27015; Fri, 27 Dec 1996 10:59:48 -0500 (EST) Resent-Date: Fri, 27 Dec 1996 10:50:26 -0500 (EST) Message-ID: Date: Fri, 27 Dec 1996 16:52:18 +0100 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 References: X-Mailer: Mutt 0.55e Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit In-Reply-To: ; from Helmut Jarausch on Dec 27, 1996 16:01:38 +0100 Resent-Message-ID: <"WaWGO2.0.Wa6.11_mo"@euclid> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/565 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Helmut Jarausch é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 -=- Hervé Schauer Consultants