unix2dos and dos2unix

The doc file of windows is line-wrapped with "/n /r",
and the file of linux is line-wrapped with "/n".
In order to make these two files compatible and used, it needs to be converted. Click todos and fromdos to complete this task.

$ sudo apt -get install tofrodos
The above command installs todos and fromdos two programs
todos is equivalent to unix2dos
fromdos is equivalent to doc2unix

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326939856&siteId=291194637
Recommended