Re: 2.10.0: Cygwin now can not work well with a file in dos format.

2018-06-16 Thread cyg Simple
On 6/16/2018 10:10 AM, Soegtrop, Michael wrote: > > I haven't tried it but according to the release note above this depends on > the mount type. It might help to mount your Windows text files in a mount > with the text flag set. Binary files should still work on such mounts - as > far as I can

RE: 2.10.0: Cygwin now can not work well with a file in dos format.

2018-06-16 Thread Michel LaBarre
Thank you for the thoughtful responses Michael and Marco. I am sorting through the references from both of you while trying to keep in mind all the caveats regarding mount mode, file-path syntax ( /d/zot vs d:\zot ), and whether any given utility is "line" oriented or not to infer how it might o

RE: 2.10.0: Cygwin now can not work well with a file in dos format.

2018-06-16 Thread Soegtrop, Michael
Dear Michel, > 1. Where in the release notes is this mentioned so that I can try to ensure > that I > find out about future changes? As far as I can tell such things are announced here on this mailing list with subject "[ANNOUNCEMENT]". This specific change was announced here: https://source

Re: 2.10.0: Cygwin now can not work well with a file in dos format.

2018-06-16 Thread Marco Atzeri
On 6/16/2018 3:06 PM, Michel LaBarre wrote: [Michel LaBrre:] I also find the decision unfortunate as I am one of the many riff-raff who use Cygwin to supplement windows and have no need for strict POSIX compliance but then I get what I pay for :-) In any event I have a few questions:

RE: 2.10.0: Cygwin now can not work well with a file in dos format.

2018-06-16 Thread Michel LaBarre
> -Original Message- > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On > Behalf Of Soegtrop, Michael > Sent: June 15, 2018 11:11 AM > To: tuyanyi; cygwin > Subject: RE: 2.10.0: Cygwin now can not work well with a file in dos format. > > Dea

Re: 2.10.0: Cygwin now can not work well with a file in dos format.

2018-06-15 Thread Brian Inglis
On 2018-06-15 09:11, Soegtrop, Michael wrote: > what has been changed in sed and awk is handling of carriage returns. The sed > and awk of older Cygwin version strip \r from the input. Newer versions > behave like the same tools on Linux and don't strip CR. This is documented > in the release note

Re: 2.10.0: Cygwin now can not work well with a file in dos format.

2018-06-15 Thread cyg Simple
On 6/15/2018 11:11 AM, Soegtrop, Michael wrote: > Dear Tuyanyi, > > what has been changed in sed and awk is handling of carriage returns. The sed > and awk of older Cygwin version strip \r from the input. Newer versions > behave like the same tools on Linux and don't strip CR. This is documen

Re: 2.10.0: Cygwin now can not work well with a file in dos format.

2018-06-15 Thread cyg Simple
On 6/15/2018 10:39 AM, tuyanyi wrote: > Hi, > I've faced a problem when deal with a text file now, the old version work > very well, but the new version, it wont. > See the following for the solution: https://www.gnu.org/software/gawk/manual/gawk.html#Cygwin -- cyg Simple -- Problem reports:

RE: 2.10.0: Cygwin now can not work well with a file in dos format.

2018-06-15 Thread Soegtrop, Michael
Dear Tuyanyi, what has been changed in sed and awk is handling of carriage returns. The sed and awk of older Cygwin version strip \r from the input. Newer versions behave like the same tools on Linux and don't strip CR. This is documented in the release notes, intended behavior and has been dis

2.10.0: Cygwin now can not work well with a file in dos format.

2018-06-15 Thread tuyanyi
Hi, I've faced a problem when deal with a text file now, the old version work very well, but the new version, it wont. 1, There is a file named test.txt which in dos format(CRLF), and the content is as follows, 456467987564654654 456467987564654654 456467987564654654 456467987564654655 456467987