Remove carriage return in Unix

后端 未结 21 2582
傲寒
傲寒 2020-11-22 03:40

What is the simplest way to remove all the carriage returns \\r from a file in Unix?

21条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-22 04:03

    try this to convert dos file into unix file:

    fromdos file

提交回复
热议问题