From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 115278 invoked by alias); 28 Dec 2015 17:08:14 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 115265 invoked by uid 89); 28 Dec 2015 17:08:13 -0000 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 Received: from mail-lb0-f174.google.com (HELO mail-lb0-f174.google.com) (209.85.217.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 28 Dec 2015 17:08:12 +0000 Received: by mail-lb0-f174.google.com with SMTP id oh2so93851139lbb.3 for ; Mon, 28 Dec 2015 09:08:11 -0800 (PST) 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) Received: by 10.112.148.66 with HTTP; Mon, 28 Dec 2015 09:08:08 -0800 (PST) In-Reply-To: References: Date: Mon, 28 Dec 2015 17:08:00 -0000 Message-ID: Subject: Re: cmp (or echo) bug? From: =?UTF-8?Q?David_Bala=C5=BEic?= To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-12/txt/msg00334.txt.bz2 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=C5=BEic 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