Re: read builtin ignores a byte after \r in bash-4.3-p42 in Cygwin
From:
Chet Ramey
Subject:
Re: read builtin ignores a byte after \r in bash-4.3-p42 in Cygwin
Date:
Sat, 6 Aug 2016 12:29:01 -0400
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
On 8/6/16 12:02 AM, Eric Blake wrote:
> In the cygwin build of bash, I've added 'set -o igncr', which controls
> whether bash ignores ALL \r on input sources (script parsing, command
> substitution, read builtin), which has been in use for many years now.
> Maybe I should find the time to clean up the patches and post them for
> upstream inclusion, to wipe out old broken setmode() cruft like this
> that downstream cygwin no longer wants to use, and replace it with the
> solution that has been working well for cygwin users. But I'm too late
> for 4.4...
Send them along when you get a chance.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/
signature.asc Description: OpenPGP digital signature