Eclipse and Windows newlines

前端 未结 6 2167
天命终不由人
天命终不由人 2020-11-29 15:43

I had to move my Eclipse workspace from Linux to Windows when my desktop crashed. A week later I copy it back to Linux, code happily, commit to CVS. And alas, windows newlin

6条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-29 16:17

    There is a handy bash utility - dos2unix - which is a DOS/MAC to UNIX text file format converter, that if not already installed on your distro, should be able to be easily installed via a package manager. dos2unix man page

提交回复
热议问题