On Wed, 10 May 2000, Martin Sevior wrote: > For > unix people, is there a nice way to convert <CR><LF> to <CR> under unix? #!/usr/bin/perl open IN, "$ARGV[0]"; $data = join '', <IN>; close IN; $data =~ /\n\r/\n/gs; open OUT, ">$ARGV[0]"; print OUT $data; close OUT; You might want to test it first, as I just typed it in here (and have not tested it). If you don't know perl, let me know, and I'll make sure it actually works. Justin
- Re: Code guidelines, state of C++ compilers used, and ge... Mike Nordell
- Re: Code guidelines, state of C++ compilers used, a... Mike Nordell
- Re: Code guidelines, state of C++ compilers used, a... Mike Nordell
- Re: Code guidelines, state of C++ compilers use... Leonard Rosenthol
- Re: Code guidelines, state of C++ compilers... Mike Nordell
- Your patches. Martin Sevior
- Re: Your patches. Justin Bradford
- Re: Your patches. Mike Nordell
- Re: Your patches. Shaw Terwilliger
- Re: Your patches. Ove Kaaven
- Re: Your patches. Martin Sevior
- Re: Your patches. Hubert Figuiere
