cmp (or echo) bug?

David Balažic xerces9@gmail.com
Mon Dec 28 17:08:00 GMT 2015


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@i10z.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



More information about the Cygwin mailing list