Re: cmp (or echo) bug?

2015-12-25 Thread Marco Atzeri
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

Problem with named pipes

2015-12-25 Thread Ken Brown
I've noticed a difference between Cygwin and Linux involving named pipes. I don't know if this a bug or simply a difference. Consider the following two scripts: $ cat fifo1.sh #!/bin/sh set -x rm -f foo mkfifo foo exec 7>foo echo blah > foo $ cat fifo2.sh #!/bin/sh set -x read bar < foo echo

cmp (or echo) bug?

2015-12-25 Thread David Balažic
Hi! In Cygwin terminal (bash) I typed: cmp <(echo echo1) <(echo echo2) 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 v

Re: Default locale for Russian/Russia should be ru_RU.CP1251

2015-12-25 Thread Andrey ``Bass'' Shcheglov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thank you for clarification Corinna. Regards, Andrey. On 24.12.2015 22:15, Corinna Vinschen wrote: > You missed to read on: > > Cygwin uses a character set which is the typical Unix-equivalent > to the Windows ANSI codepage. For instance: [...] >