终端输入
tr -d “\r” <oldfile.sh > newfile.sh
实例:
tr -d “\r” <test1.sh > test.sh
linux执行脚本里面删掉里面的^M
猜你喜欢
转载自blog.csdn.net/u010835747/article/details/121885358
今日推荐
周排行