Install libfile-localizenewlines-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libfile-localizenewlines-perl
Description:
Perl module to localize the newlines for one or more files
File::LocalizeNewlines is a module that allows users to easily fix conflicting newline formats (particularly Unix- and Win32-style line endings). It changes every end-of-line character to those of the local platform, and even corrects instances where multiple different newline formats are used in the same file.
Homepage: https://metacpan.org/release/File-LocalizeNewlines/
Version: 1.12-1
Section: universe/perl