On 6/26/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:
On 6/26/06, Steve Baldwin <[EMAIL PROTECTED]> 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.tr '\015 '\012' <input >output
Oh wait. I need to use vim. How about: tr '\015 '\012' <input >output vim output ZZ Yakov
