Anything like dos2unix for Windows?

前端 未结 8 1954
栀梦
栀梦 2020-12-01 16:25

I have some shell scripts created on windows I want to run dos2unix on them.

But as I have read that dos2unix works in Linux

8条回答
  •  被撕碎了的回忆
    2020-12-01 16:56

    There are at least two resources:

    • dos2unix on SourceForge, which appears to be actively maintained (as of 2015), and has pre-compiled releases for Windows, both 32- and 64-bit. Also includes unix2dos, mac2unix, and unix2mac.
    • CygUtils from GnuWin32, which are miscellaneous utilities forked from Cygwin, which includes dos2unix as well as several other related utilities. This package is not actively maintained (last update was in 2008).

提交回复
热议问题