window环境编写的脚本转化为linux环境的脚本

如何将windows环境编写的脚本转化为linux环境的脚本

##使用vim编辑器

:set ff=unix

##保存
原文地址:https://www.cnblogs.com/tsing0520/p/13034044.html