From Wiki

Perl: ConvertingFromDosToUnixLineTerminators

Converting From Dos To Unix Line Terminators

% perl -pi -e 's/\r/\n/g' mealcsv.csv

Kaynak: http://borkware.com/quickies/everything

Retrieved from http://kozgun.net/wiki/pmwiki.php?n=Perl.ConvertingFromDosToUnixLineTerminators
Page last modified on January 03, 2006, at 02:48 AM