This article is a mirror article of machine translation, please click here to jump to the original article.

View: 13743|Reply: 0

[linux] Conversion between Windows, Unix, and Mac formats in Notepad++

[Copy link]
Posted on 3/26/2018 1:15:25 PM | | | |
Due to historical reasons, Windows, Unix/Linux, and Mac have different representation methods for the line breaks used in files.

This leads to many people encountering confusion about the carriage return line break and the need to convert between different formats.

Among them, a detailed explanation of the lineback wrap is here[13]

Here, I will introduce how to convert between these three through the Notepad++ implementation.

See the current file format (what characters are used for line breaks)



Convert from Windows to Unix/Linux format

And thenThe CR LF of Windows has become the LF of Unix/LinuxDone:









Previous:CentOS Firewall is turned on, off, and checked the status
Next:【Practice】How to solve the error in MySQL reporting Table 'xxx' doesn't exist on Linux
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com