Dos2Unix type conversion on Mac OS

As simple as:

tr '\r' '\n' < file-with-dos-newline.txt > file-with-mac-newline.txt

One Response to “Dos2Unix type conversion on Mac OS”

  1. shalamicspud Says:

    http://dos2unix.darwinports.com/

Leave a Reply