Hello all,
I often read/modify source code which has been written
using Windows editors. I use Vi as my editor. Windows
editors leave carriage return character instead
of new line characters, which Vi shows as ^M
I would like to replace them with new line character
using Vi command mode. I have tried all possible
substitution/regular expressions but haven't been able
to achieve that task. How can it be done?
Thanks
Shailender