delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/12/28/12:08:28

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type
:content-transfer-encoding; q=dns; s=default; b=qVUAdrNPXJRfWXGg
hJQnjOpzRfmLq4q0qGI6iDDc57SMoyAWJIyMthpU4rhidXmX5aWppjSbJVjJAW4K
C+ejdkWk5lcYpoLDCNsCkGDgZYzLNVK+9WnS0HGi7ExrPOkLX/aeuqqAdfwPx6Lv
E7YZiFokcKnvemen3SQNuQ2NJRo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type
:content-transfer-encoding; s=default; bh=BPb3OtxWqaMmvYsr8YhifA
AnkJ0=; b=pKu5T8ex5yUW5e5spcWs6Rbr7iBHpAznBGQFcZ/f6aIUyzvyt3iife
8R1dnd8zsXLwb95ehNxnyT5W/amtVs5B2dZEM23OYQrdLsW5j7AKAYqWbD7itf21
6iEeeUBWe6/DT/wzYEUH+vGmAolpxMNbVMEG7UnXdWOjrmeQS0iNU=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=AWL,BAYES_20,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=donmez, Donmez, ismail, Ismail
X-HELO: mail-lb0-f174.google.com
MIME-Version: 1.0
X-Received: by 10.112.14.234 with SMTP id s10mr19569611lbc.136.1451322488796; Mon, 28 Dec 2015 09:08:08 -0800 (PST)
In-Reply-To: <loom.20151226T134911-504@post.gmane.org>
References: <CAPJ9Yc9uFnFSFPkYxJj2A87EzZVNrWx2mN5Pq6SxCwpf_78QVQ AT mail DOT gmail DOT com> <loom DOT 20151226T134911-504 AT post DOT gmane DOT org>
Date: Mon, 28 Dec 2015 18:08:08 +0100
Message-ID: <CAPJ9Yc9zSpvPLE3kDvFGoS9w9Btuazw2CVOTHZoDDtuoO8UG6w@mail.gmail.com>
Subject: Re: cmp (or echo) bug?
From: =?UTF-8?Q?David_Bala=C5=BEic?= <xerces9 AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id tBSH8OLG015796

I tried it in zsh (32 bit cygwin) and there it works correctly:

$  cmp  <(echo echo1)  <(echo echo2)
/tmp/zshirbIJ1 /tmp/zshDsdZep differ: byte 5, line 1

So it seems the bug is in bash.

Regards,
David


On 26 December 2015 at 13:49, Ismail Donmez <ismail AT i10z DOT com> wrote:
> Hi,
>
> David Balažic <xerces9 <at> gmail.com> writes:
>
>> In Cygwin terminal (bash) I typed:
>>
>> cmp  <(echo echo1)  <(echo echo2)
>
> I suspect its a bash bug since it works fine with zsh (tested 64bit only).

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019