Change DOS to UNIX Line Ending
How to change line ending format
for file in *.cpp
do
vi +':w ++ff=unix' +':q' "$file"
done
Source: https://stackoverflow.com/a/95650
How to change line ending format
for file in *.cpp
do
vi +':w ++ff=unix' +':q' "$file"
done
Source: https://stackoverflow.com/a/95650