Because the server is not me alone in the operation, in the modification of the Apache configuration file found a very strange problem, vim edit Open Profile discovery has a ^m tag behind it
Although it doesn't affect the operation of the service, it doesn't feel right at all, so I'm trying to set it up in a replacement way :%s/\^m//g has succeeded but it feels not so simple,
After reviewing the information, it turns out that a colleague of mine has modified the file with the remote tool and the editor under Windows, so the carriage return problem is caused because the carriage return under Windows
Linux is different, specifically what does not want to do here overview, only say the command: Dos2unix httpd.conf Of course there is a command is unix2dos httpd.conf file
In Linux 2 there is a meaning of 2 for the meaning of the front to the back meaning, so many commands in Linux are two keywords or the general usage of the command combination is the same
For example: dumpe2fs and so on!
Vim open Linux under file each line has a ^m style behind it