we all know. Hit the Enter key is meant wrap.
In different systems to fight the Enter key effect is different:
- The MAC OS: dakdhih \ r
- Under LINUX: dakdhih \ n
- Dosh \ Windows 下: Dkdhih \ r \ n
When using git code management, git will automatically convert between CRLF and LF, which we do not have to worry about.
If I want to windos from a text file under linux, \ no front n \ r up? ? ? ?
reading windows compiler code is not recognized \ r \ n appear together, not to wrap.
Perform the conversion:
dos2unix file
unix2dos file