Convert Macintosh line breaks to Unix line breaks

Posted by skreuzer in UNIX

This one liner will convert Mac line breaks into Unix line breaks

tr '\r' '\n' <macfiletype.txt >unixfiletype.txt

The Conversation

Follow the reactions below and share your own thoughts.