学习shell

tr -d '\r' < dos-file.txt > output.txt

将删除回车然后保存输出

原文地址:https://www.cnblogs.com/lexus/p/2442714.html