windows换行转linux换行:CRLF -> LF

1、安装dos2unix工具

sudo apt-get install dos2unix

2、替换文件的换行符

find ./ -type f -exec dos2unix {} +

 

posted @ 2024-03-27 09:04  施凯sky  阅读(247)  评论(0)    收藏  举报