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 &
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
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
>
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
4 matches
Mail list logo