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: List-Subscribe: List-Archive: List-Post: List-Help: , 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: References: Date: Mon, 28 Dec 2015 18:08:08 +0100 Message-ID: Subject: Re: cmp (or echo) bug? From: =?UTF-8?Q?David_Bala=C5=BEic?= To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit 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 wrote: > Hi, > > David Balažic 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