On 3/20/16 12:54 AM, Жанна Целых wrote: > uname output: CYGWIN_NT-6.1 microsoft-win7 2.4.1(0.293/5/3) 2016-01-24 > 11:24 i686 Cygwin > Machine Type: i686-pc-cygwin > > Bash Version: 4.3 > Patch Level: 42 > Release Status: release > > Description: > In bash-4.3-p42 from Cygwin read builtin ignores some bytes after > CR-byte.
It may be the setmode() call in the read builtin, but that's been there forever. I don't use cygwin or test on it. You'll probably have better luck filing a bug report with the cygwin folks. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/