unix2mac

Change Unix-style line endings to macOS-style. Replaces LF with CR. More information: <https://waterlan.home.xs4all.nl/dos2unix.html>.

Debian Debian
RUN apt-get update && \ apt-get install -y dos2unix
Ubuntu
RUN apt-get update && \ apt-get install -y dos2unix
Alpine
RUN apk add dos2unix
Arch Arch Linux
RUN pacman -S --noconfirm dos2unix
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y dos2unix
CentOS
RUN yum install -y dos2unix
Fedora
RUN dnf install -y dos2unix
Raspbian
RUN apt-get update && \ apt-get install -y dos2unix
click the source code to copy install unix2mac on any operating system with command-not-found.com