dos2unix

v 7.4.2

Convert text files with DOS or Mac line breaks to Unix line breaks and vice versa

This is an update of Benjamin Lin's implementations of dos2unix and unix2dos. Benjamin Lin's implementations of dos2unix and unix2dos were distributed via SunSITE.unc.edu (later MetaLab.unc.edu, now ibiblio) and became part of several Linux distributions such as RedHat, Suse, Gentoo, and others. This update includes all RedHat patches and fixes several other problems. Internationalization has been added and ports to DOS, Windows, Cygwin and OS/2 Warp have been made.

http://www.xs4all.nl/~waterlan/dos2unix.html

To install dos2unix, paste this in macOS terminal after installing MacPorts

sudo port install dos2unix

Add to my watchlist

Installations 119
Requested Installations 98