From owner-freebsd-questions Fri Nov 19 12: 7:18 1999 Delivered-To: freebsd-questions@freebsd.org Received: from altair.mayn.de (altair.mayn.de [194.145.150.157]) by hub.freebsd.org (Postfix) with ESMTP id 9A73A1566A for ; Fri, 19 Nov 1999 12:07:13 -0800 (PST) (envelope-from mkb@altair.mayn.de) Received: (from mkb@localhost) by altair.mayn.de (8.9.3/8.9.3) id VAA01145; Fri, 19 Nov 1999 21:00:57 +0100 (CET) (envelope-from mkb) Date: Fri, 19 Nov 1999 21:00:56 +0100 From: Matthias Buelow To: "John E. Hein" Cc: "Oleg V. Volkov" , freebsd-questions@FreeBSD.ORG Subject: Re: Is there correct way for program to read from itself? Message-ID: <19991119210056.A1103@altair.mayn.de> References: <19991118152324.37840@mojave.sitaranetworks.com> <19991118232846.A63288@fly.lglobus.ru> <19991118154736.22915@mojave.sitaranetworks.com> <19991119002759.B63288@fly.lglobus.ru> <19991118172315.02758@mojave.sitaranetworks.com> <19991119012822.A63914@fly.lglobus.ru> <19991119111026.11577@mojave.sitaranetworks.com> <19991119220338.B68540@fly.lglobus.ru> <19991119201806.A442@altair.mayn.de> <14389.42844.745588.634134@taz.timing.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <14389.42844.745588.634134@taz.timing.com>; from jhein@timing.com on Fri, Nov 19, 1999 at 12:39:08PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John E. Hein wrote: >man gzexe (from the gzip contrib stuff)... IIRC gzexe uncompresses into a file and then runs this... from what I understood, the "upx" compressor does not write files. The gzexe method is still inefficient when the directory entry is removed (either instantly to avoid turds lying around or at program termination) since a new file (and hence cacheable object) is created with each invocation. >it's quite handy given the right situation The right situation being a floppy disk or otherwise limited environment where you must trade memory and performance in against secondary storage space. mkb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message