From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 864 invoked from network); 6 Aug 2005 08:06:03 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 6 Aug 2005 08:06:03 -0000 Received: (qmail 977 invoked from network); 6 Aug 2005 08:05:55 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 6 Aug 2005 08:05:55 -0000 Received: (qmail 4025 invoked by alias); 6 Aug 2005 08:05:48 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9255 Received: (qmail 3367 invoked from network); 6 Aug 2005 07:50:47 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 6 Aug 2005 07:50:47 -0000 Received: (qmail 95341 invoked from network); 6 Aug 2005 07:50:47 -0000 Received: from 64-mi2-2.acn.waw.pl (HELO mp.pl.eu.org) (82.210.189.64) by a.mx.sunsite.dk with SMTP; 6 Aug 2005 07:50:41 -0000 Received: from mike by mp.pl.eu.org with local (Exim 3.36 #1 (Debian)) id 1E1JS4-0002ES-00 for ; Sat, 06 Aug 2005 09:50:40 +0200 Date: Sat, 6 Aug 2005 09:50:40 +0200 From: Michal Politowski To: zsh-users@sunsite.dk Subject: Re: RFT: Request for a trick :O) Message-ID: <20050806075040.GA7698@Amber.lab.icm.edu.pl> Mail-Followup-To: zsh-users@sunsite.dk References: <20050806.065638.92586082.Meino.Cramer@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20050806.065638.92586082.Meino.Cramer@gmx.de> X-PGP: 1024D/6B757C5B; 1C98 622F 6A6D 822D 3E95 2626 14EB 98C1 6B75 7C5B; 2004-02-29 -- 2006-02-28 User-Agent: Mutt/1.5.9i X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.4 On Sat, 6 Aug 2005 06:56:38 +0200, Meino Christian Cramer wrote: [...] > cmp < `7z x -so foo.7z` < `7z x -so bar.7z` >=20 > may work I thought...but it doesnt (the assumption was totally > wrong)... ( "7z x -so .7z" means "unpack .7z to stdout) >=20 > But...may be someone else knows a tricky way to prevent temporary > files to compare the (single file) contents of two archives in one > go??? Almost there. Read about process substitution in the documentation. It looks like <(command), >(command) and =3D(command) so in your case cmp <(7z x -so foo.7z) <(7z x -so bar.7z) should work. --=20 Micha=B3 Politowski Talking has been known to lead to communication if practiced carelessly.