Convert Unix lines breaks to Macintosh line breaks

Posted October 18, 2003 by skreuzer in Linux

This one liner will convert Unix line breaks to Mac lines breaks in a text file

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

The Conversation

Follow the reactions below and share your own thoughts.