美文网首页
'\r': command not found

'\r': command not found

作者: cityhash123 | 来源:发表于2019-06-14 17:50 被阅读0次

2019-06-14

方法一

dos2unix

方法二

sed -i 's/\r$//' filename

Explanation:

Option -i is for in-place editing, we delete the trailing \r directly in the input file. Thus be careful to type the pattern correctly.

相关文章

网友评论

      本文标题:'\r': command not found

      本文链接:https://www.haomeiwen.com/subject/biopfctx.html