Steve Baldwin wrote:
Dear Guru's,This is probably a silly question, but I can't work it out :-( I have a file containing carriage returns and I want to replace them with line feeds. Note it is not CR-LF -> LF, but just CR -> LF. Can someone please enlighten me as to how to do this. Thanks very much.
:e ++ff=mac foobar.txt
:w ++ff=unix
see
:help ++opt
:help 'fileformat'
HTH,
Tony.
