by ldoroud · 10y ago · 0 comments
perl -p -e 's/\r/\n/g' Bad_Microsoft.csv Good_unix.csv perl -p -e 's/\r//g' Bad_Microsoft.csv Good_unix.csv
After all, Microsoft files usually end in a carriage return followed by a line break and not a bare carriage return, don't they?