Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: RFT: Request for a trick :O)
- X-seq: zsh-users 9266
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: RFT: Request for a trick :O)
- Date: Mon, 08 Aug 2005 11:04:14 +0100
- In-reply-to: <20050806.103549.104026645.Meino.Cramer@xxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20050806.065638.92586082.Meino.Cramer@xxxxxx> <20050806075040.GA7698@xxxxxxxxxxxxxxxxxxxx> <20050806.103549.104026645.Meino.Cramer@xxxxxx>
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@xxxxxxx> 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.
**********************************************************************
Messages sorted by:
Reverse Date,
Date,
Thread,
Author