In a file that have multiple “^M” characters in it , we can use vim to remove them.
1
|
|
the ^M character is made by typing ctrl + v first then hit enter.
Also I write a perl script to convert the from dos to unix and also delete chars in code followng the “//”.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
|
The code just explains itself.
Bingo!