Re: Incorrect DOS line ending conversion for cygwin build of perl

2002-10-03 Thread Gerrit P. Haase
Hallo Bertie, > Here is a transcript demonstrating correct line ending conversion, it uses > a version of perl I built with USE_STDIO_PTR undefined. > > - > bash-2.05a$ echo fred >fred.txt && cat -vet fred.txt &

Re: Incorrect DOS line ending conversion for cygwin build of perl

2002-10-03 Thread Bertie
At 09:37 PM 10/2/02 +0200, Gerrit P. Haase wrote: >Hallo Bertie, > >Am Mittwoch, 2. Oktober 2002 um 15:33 schriebst du: > >> I note that the cygwin build of perl does not correctly translate DOS \r\n >> line endings into \n when opening files in text mode, this causes all sorts >> of grief in perl

Re: Incorrect DOS line ending conversion for cygwin build of perl

2002-10-02 Thread Gerrit P. Haase
Hallo Bertie, Am Mittwoch, 2. Oktober 2002 um 15:33 schriebst du: > I note that the cygwin build of perl does not correctly translate DOS \r\n > line endings into \n when opening files in text mode, this causes all sorts > of grief in perl scripts which search for things like fred$ in DOS text >

Incorrect DOS line ending conversion for cygwin build of perl

2002-10-02 Thread Bertie
I note that the cygwin build of perl does not correctly translate DOS \r\n line endings into \n when opening files in text mode, this causes all sorts of grief in perl scripts which search for things like fred$ in DOS text files. After a bit of digging around in perl source it turns out that the