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

Giffin Ron-P08295 Ron.Giffin at motorola.com
Fri Nov 5 14:11:10 CST 1999


Will Doug or someone please enlighten me.  Does this mean
that the output from programs such as dos2ux or dos2unix
is unacceptable, or is this simply 'I'd rather do it myself'?

  -- Ron



-----Original Message-----
From: Douglas E. Miles [mailto:doug.miles at bpxinternet.com]
Sent: Friday, November 05, 1999 10:13 AM
To: Phoenix.pm
Subject: Phoenix.pm: Mac/Windows -> Unix line endings


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.



More information about the Phoenix-pm mailing list