Meng Xin Zhu
In vi/vim,
set file format=unix
or dos2unix, unix2dos