Convert Macintosh line breaks to Unix line breaks

Posted October 18, 2003 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.