We can use the following two methods to get rid of the “^M” character in a file which was edited on windows using vim.
1.
1
|
|
2.
1
|
|
The second one means pressing ctrl-v, then ctrl-m first.
We can use the following two methods to get rid of the “^M” character in a file which was edited on windows using vim.
1.
1
|
|
2.
1
|
|
The second one means pressing ctrl-v, then ctrl-m first.