current position:Home>Use diff - w to see the difference between the two files, and the result is completely different

Use diff - w to see the difference between the two files, and the result is completely different

2022-01-27 00:11:31 CSDN Q & A

The phenomenon and background of the problem

img

Want to ask . M-oM-;M-? What is it? ? How to get rid of ?
Goal is to diff There is no difference between the two files




Refer to the answer 1:

cat -A See hidden characters , As for what these specific symbols mean , It's not easy to check ...


The quickest way is to delete this line and edit it again .
If it involves a wide range , You can try the following :

vi xxx And then directly input  :set ff=unix Then just press  enter Key, and then press  Esc Key, and then directly enter  :wq Then just press  enter key     Save and exit 



Refer to the answer 2:

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.cdmana.com/2022/01/202201270011294797.html

Random recommended