Date: Wed, 14 Jul 2004 00:07:28 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 344 ************************************************** Tuesday 13 July 2004 Number 344 ************************************************** Subjects for today 1 Re: Building unzip : John Poltorak 2 Re: Building unzip : Stefan.Neis at t-online.de **= Email 1 ==========================** Date: Mon, 12 Jul 2004 15:14:31 +0100 From: John Poltorak Subject: Re: Building unzip On Mon, Jul 12, 2004 at 02:01:45PM +0200, Stefan.Neis at t-online.de wrote: > John Poltorak schrieb: > > > Actually, looking through the man pages it looks as > > though some > > executables are missing - there is no zipgrep or > > zipinfo. > > zipgrep is a shell script, so it's not much use on a > "normal" (cmd based) OS/2 system. There is a zipgrep shell script in the unix subdirectory of unzip, so I guess there shouldn't be a problem adding that to \usr\bin just for the sake of completeness. > zipinfo is similar to stuff like "gunzip" - on a unix > system, it's a link to the "real" executable (unzip in > case of zipinfo, gzip in case of gunzip) and > depending on "argv[0]", specific flags are > automatically added. I always prefer using > "gzip -d" or "unzip -Z" over installing an identical > copy of the binary under a new name ... Are you saying that if I copy unzip.exe as zipinfo.exe, it will act as though I had run unzip -Z? Maybe I should just create a zipinfo.cmd which simply a cmd file that runs 'unzip -Z'... > > Regards, > Stefan -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Tue, 13 Jul 2004 14:39:09 +0200 (CEST) From: Stefan.Neis at t-online.de Subject: Re: Building unzip John Poltorak schrieb: > Are you saying that if I copy unzip.exe as zipinfo.exe, > it will act as > though I had run unzip -Z? Exactly. Just tested to make sure ... ;-) > Maybe I should just create a zipinfo.cmd which simply a > cmd file that runs > 'unzip -Z'... At least, that's more appealing to me than copying unzip.exe ... Regards, Stefan _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs