From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20213 invoked from network); 8 Aug 2005 10:41:53 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 8 Aug 2005 10:41:53 -0000 Received: (qmail 91979 invoked from network); 8 Aug 2005 10:41:47 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 8 Aug 2005 10:41:47 -0000 Received: (qmail 7581 invoked by alias); 8 Aug 2005 10:41:36 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9268 Received: (qmail 7570 invoked from network); 8 Aug 2005 10:41:34 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 8 Aug 2005 10:41:34 -0000 Received: (qmail 90868 invoked from network); 8 Aug 2005 10:41:34 -0000 Received: from mailhost1.csr.com (HELO MAILSWEEPER01.csr.com) (81.105.217.43) by a.mx.sunsite.dk with SMTP; 8 Aug 2005 10:41:30 -0000 Received: from exchange03.csr.com (unverified [10.100.137.60]) by MAILSWEEPER01.csr.com (Content Technologies SMTPRS 4.3.12) with ESMTP id for ; Mon, 8 Aug 2005 11:39:21 +0100 Received: from csr.com ([10.102.144.127]) by exchange03.csr.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 8 Aug 2005 11:41:11 +0100 To: zsh-users@sunsite.dk Subject: Re: RFT: Request for a trick :O) In-reply-to: <20050808103515.GB28454@artesyncp.com> References: <20050806.065638.92586082.Meino.Cramer@gmx.de> <20050806075040.GA7698@Amber.lab.icm.edu.pl> <20050806.103549.104026645.Meino.Cramer@gmx.de> <200508081004.j78A4Es4006122@news01.csr.com> <20050808103515.GB28454@artesyncp.com> Comments: In-reply-to Stephane Chazelas message dated "Mon, 08 Aug 2005 11:35:15 +0100." Date: Mon, 08 Aug 2005 11:41:29 +0100 Message-ID: <23359.1123497689@csr.com> From: Peter Stephenson X-OriginalArrivalTime: 08 Aug 2005 10:41:11.0556 (UTC) FILETIME=[B16F5440:01C59C05] 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.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 Stephane Chazelas wrote: > > > Extracting GlassBowl001.blend/usr/bin/7z: line 2: 5488 Broken pipe > > > /usr/lib/p7zip/7z "$@" > > > Extracting GlassBowl001.blend/usr/bin/7z: line 2: 5492 Broken pipe > > > /usr/lib/p7zip/7z "$@" > > > > I think it's rather because cmp stops reading at the first > difference -> so exit -> so close the pipes -> so the feeders > get a SIGPIPE. > > That's normal and expected, you'd get the same with: > > 7z ... | cmp - other-file You're right. I'd assumed the files were actually identical, but reading back I see Meino did say they weren't. The "broken pipe" is simply a detail of the implementation of the <( ... ). Meino, if you want a full comparison to the end of the file, you can use "cmp -l", which will give lots of output. Otherwise, you can redirect 2>/dev/null in the p7zip command. pws ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. **********************************************************************