recode pc..l1 file1 file2 file3
The recode
utility installed on many systems converts between character sets. This command is shorthand for recode IBM-PC..latin1 file1 file2 file3
which converts the given files from CRLF to LF line endings.
vi +'bufdo set ff=unix' +'bufdo %s/^M$//' +q file1 file2 file3