End of line CRLF (\ r \ n) instead of LF (\ n)
dos2unix file-list-to-fix
sed -i 's/$/\r/' file_to_change.txt
@bill: Kent Olsen already mentioned dos2unix before, david was the 2nd mention.Thanks, I adjusted my prior post.
Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.
TRUSTED BY
Open in new window