dos2unix
Converter between DOS and Unix end-of-line delimiters
Also on HaikuPorts.
dos2unix
Description
DOS/Windows uses CR/LF at the end of lines whereas UNIX has just LF. Dos2unix and unix2dos are simple command line tools to convert between the two formats.
Install
Channel stable v7.5.1-1
This app is curated in HaikuPorts. Install it from there, it is already available in HaikuDepot.
pkgman install dos2unix
Download version 7.5.1-1 (x86_64) hpkg
Careful: the file comes from HaikuPorts' own server, but installing it by hand is not the way in. It is pkgman that resolves the dependencies an .hpkg does not carry with it, and a package installed on its own may simply not run. Use the pkgman command above, unless you know exactly why you want the file.