Linux remove the four methods of M ^
The first method: CAT -A filename characters can be seen in the off-membered ^ Windows M to remove him, with the following command simple: the dos2unix filename second method: Sed -i 'S / ^ M // G 'filename # Note: ^ M input mode is Ctrl + v, + and the Ctrl M third method: #vi filename : . 1, $ S / M ^ // G ^ M input method: Ctrl + V, Ctrl + M of four methods: CAT filename | TR -d '/ r'> newfile # ^ available M / R & lt instead of
Several methods comprising determining Shell string Relationship
https://www.cnblogs.com/AndyStudy/p/6064834.html
Vi / Vim using the tips, how to eliminate the highlighted keyword search
https://blog.csdn.net/shaoshaoh/article/details/1694451