From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5658 invoked from network); 6 Aug 2005 08:34:37 -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:34:37 -0000 Received: (qmail 10312 invoked from network); 6 Aug 2005 08:34:29 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 6 Aug 2005 08:34:29 -0000 Received: (qmail 6430 invoked by alias); 6 Aug 2005 08:34:23 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9256 Received: (qmail 6420 invoked from network); 6 Aug 2005 08:34:23 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 6 Aug 2005 08:34:23 -0000 Received: (qmail 9420 invoked from network); 6 Aug 2005 08:34:23 -0000 Received: from p54850107.dip0.t-ipconnect.de (HELO solfire) (84.133.1.7) by a.mx.sunsite.dk with SMTP; 6 Aug 2005 08:34:17 -0000 Received: from localhost ([127.0.0.1]) by solfire with esmtp (Exim 4.42) id 1E1K9l-0001R7-Sf; Sat, 06 Aug 2005 10:35:53 +0200 Date: Sat, 06 Aug 2005 10:35:49 +0200 (CEST) Message-Id: <20050806.103549.104026645.Meino.Cramer@gmx.de> To: mpol@charybda.icm.edu.pl Cc: zsh-users@sunsite.dk From: Meino Christian Cramer In-Reply-To: <20050806075040.GA7698@Amber.lab.icm.edu.pl> References: <20050806.065638.92586082.Meino.Cramer@gmx.de> <20050806075040.GA7698@Amber.lab.icm.edu.pl> X-Mailer: Mew version 4.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Rcpt-To: mpol@charybda.icm.edu.pl, zsh-users@sunsite.dk X-SA-Exim-Mail-From: Meino.Cramer@gmx.de Subject: Re: RFT: Request for a trick :O) Content-Type: Text/Plain; charset=iso-8859-2 Content-Transfer-Encoding: quoted-printable X-SA-Exim-Version: 4.1+cvs (built Sat, 28 Aug 2004 13:10:40 +0200) X-SA-Exim-Scanned: Yes (on solfire) 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.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 From: Michal Politowski Subject: Re: RFT: Request for a trick :O) Date: Sat, 6 Aug 2005 09:50:40 +0200 > On Sat, 6 Aug 2005 06:56:38 +0200, Meino Christian Cramer wrote: > [...] > > cmp < `7z x -so foo.7z` < `7z x -so bar.7z` > > = > > may work I thought...but it doesnt (the assumption was totally > > wrong)... ( "7z x -so .7z" means "unpack .7z to stdou= t) > > = > > 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. > = > -- = > Micha=B3 Politowski > Talking has been known to lead to communication if practiced careless= ly. > = Hi Michael ! Thanks for your reply :O) The following line: cmp <(7z x -so render/GlassBowl001.blend.7z ) <(7z x -so render2/= GlassBowl001.blend.7z ) gaves: 7-Zip 4.20 Copyright (c) 1999-2005 Igor Pavlov 2005-05-30 p7zip Version 4.20 (locale=3DC,Utf16=3Doff,HugeFiles=3Don) = Processing archive: render/GlassBowl001.blend.7z = = 7-Zip 4.20 Copyright (c) 1999-2005 Igor Pavlov 2005-05-30 p7zip Version 4.20 (locale=3DC,Utf16=3Doff,HugeFiles=3Don) = Processing archive: render2/GlassBowl001.blend.7z cmp (GNU diffutils) 2.8.1 Copyright (C) 2002 Free Software Foundation, Inc. = This program comes with NO WARRANTY, to the extent permitted by law= .= You may redistribute copies of this program under the terms of the GNU General Public License. For more information about these matters, see the file named COPYIN= G. = Written by Torbjorn Granlund and David MacKenzie. mccramer@solfire:.process> = Extracting GlassBowl001.blend/usr/bin/7z: line 2: 5488 Broken pip= e /usr/lib/p7zip/7z "$@" Extracting GlassBowl001.blend/usr/bin/7z: line 2: 5492 Broken pip= e /usr/lib/p7zip/7z "$@" = Both files exists, the command was submitted being in the correct cwd and the files are processable by 7z (no corruption etc...)... What's going wrong here ? Keep zshing! Meino