Change FileFormat from DOS to UNIX

If you have a file with dos format, simply open it with vim and type

:e ++ff=unix

to get it as unix file format.

Supported file formats are:

unixLF only
dosCRLF
macCR only

CR is carriage return (Ctrl-M, ^M or hex 0D).
LF is linefeed (Ctrl-J, ^J or hex 0A)

Leave a Reply