cmp (or echo) bug?

Marco Atzeri marco.atzeri@gmail.com
Sat Dec 26 06:42:00 GMT 2015


On 25/12/2015 22:32, David Balažic wrote:
> Hi!
>
> In Cygwin terminal (bash) I typed:
>
> cmp  <(echo echo1)  <(echo echo2)

only on 32bit, on 64 I see

$ cmp  <(echo echo1)  <(echo echo2)
/dev/fd/63 /dev/fd/62 differ: byte 5, line 1

I suspect a timing issue, and the result is not well defined


> This does not print anything.
> Not even with -b.
>
> On Linux (Ubuntu 12.04 in VMWare) it reports that the inputs are different.
>
> Bug?
> Or am I missing something?
>
> I just updated to latest version of cygwin, to be sure.
> 32 bit version.
> On Windows 8.1 Pro x64 (all updates)
>
> Regards,
> David
>

--
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