Phoenix.pm: Mac/Windows -> Unix line endings

EdelSys Consulting edelsys at edelsys.com
Fri Nov 5 11:33:11 CST 1999


At 10:12 AM 11/05/1999 -0700, you wrote:
>This is a little script that I use to convert Mac/Windows format files
>to Unix format:
>
>#!/usr/bin/perl -pi
>
>s/\r\n?/\n/g;
>
>Enjoy!
>
>-- 
>For a list of the ways which technology has failed
>to improve our quality of life, press 3.
>

You should submit that to PPT.  =)

Tony




More information about the Phoenix-pm mailing list