zsh-users
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@csr.com>
To: zsh-users@sunsite.dk
Subject: Re: RFT: Request for a trick :O)
Date: Mon, 08 Aug 2005 11:04:14 +0100	[thread overview]
Message-ID: <200508081004.j78A4Es4006122@news01.csr.com> (raw)
In-Reply-To: <20050806.103549.104026645.Meino.Cramer@gmx.de>

Meino Christian Cramer wrote:
>  The following line:
> 
>      cmp <(7z x -so render/GlassBowl001.blend.7z ) <(7z x -so  render2/Glas=
> sBowl001.blend.7z )
> 
>  gaves:
>     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 "$@"

Not sure this is the error, but: it's quite likely cmp needs to be able
to seek backwards. <(...) is often implemented using a pipe on which you
can't do that.  (Results may vary, so you can't assume it will always
work from the behaviour on one system.)

The =(...) substitution exists for this very reason.

  cmp =(output1...) =(output2...)

I'm not sure this is the error because I would expect a slightly
different error message, but it's worth trying.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


**********************************************************************
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.

**********************************************************************


  reply	other threads:[~2005-08-08 10:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-06  4:56 Meino Christian Cramer
2005-08-06  7:50 ` Michal Politowski
2005-08-06  8:35   ` Meino Christian Cramer
2005-08-08 10:04     ` Peter Stephenson [this message]
2005-08-08 10:35       ` Stephane Chazelas
2005-08-08 10:41         ` Peter Stephenson
2005-08-08 15:44           ` Meino Christian Cramer
2005-08-08 16:02             ` Peter Stephenson
2005-08-08 16:34               ` Meino Christian Cramer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200508081004.j78A4Es4006122@news01.csr.com \
    --to=pws@csr.com \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).