mac2unix

Change macOS-style line endings to Unix-style. Replaces CR with LF. 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 mac2unix on any operating system with command-not-found.com