[EMAIL PROTECTED] (Hans Ekbrand) wrote:
>Are there any program, or perl one-liner, that convert Mac ascii files 
>(with CR only as line terminator) to Unix ascii format? I have only found 
>the dos2unix proggie.

perl -pe 's/\r/\n/g'

Or, for fun:

perl -015l012pe1

:),

-- 
Colin Watson                                           [EMAIL PROTECTED]

Reply via email to