
How to insert Carriage Return in a file ?
How about with a carriage-return, linefeed?
$ eval `echo m=M | tr M '\015'`
$ sed "s/$/$m/" filename
---Robert
____________________________________
>
> Hello,
>
> Which is the best method for insert a Carriage-Return in a file ?
>
> I want to replace the Line-Feed at the end of each record with a
> Line-Feed and a Carriage-return.
>
> Thanks in advance.
>
> CD.