perl + automode.o

Gerrit P. Haase freeweb@nyckelpiga.de
Fri Aug 24 08:59:00 GMT 2001


Hi,

I compiled a version of miniperl with automode.o linked
in. First tests shows that it adresses the CR/LF problem.

Please get a version and do some more testing.

I only used this little testscript yet (cr.lf.pl) on textmounts:
=====
#!/usr/bin/miniperl
# cr.lf.pl - testscript

rename("file2.txt","file1.txt");
open(F1,"file1.txt");
open(F2,">file2.txt");

while(<F1>) {
    # have to use chomp; chop; print F2 $_ . "\n"; to get it to work
    print F2;
}
close(F1);
close(F2);

=====

Since my ISP is more up than down with his servers, i mail you a copy,
on request only.

Thanks,

Gerrit

-- 
=^..^=



More information about the Cygwin-apps mailing list