[SLUG] How to type ^M

2001-11-12 Thread Michael Covi
Does anyone know how to type ^M so it appears as the actual control character? I was stuck trying to convert some scripts from dos to unix format on a very small root filesystem. It did have sed but how the hell do you type in the character to match it and eliminate it? -- SLUG - Sydney

Re: [SLUG] How to type ^M

2001-11-12 Thread Michael Covi
Thanks! Excellent! :) Doing it by hand with vi, as i ended up having to do, went against all good principles! :) On Mon, 12 Nov 2001 23:37, Andre Pang wrote: On Mon, Nov 12, 2001 at 11:30:47PM +1100, Michael Covi wrote: Does anyone know how to type ^M so it appears as the actual control

Re: [SLUG] How to type ^M

2001-11-12 Thread Ken Foskey
Michael Covi wrote: Does anyone know how to type ^M so it appears as the actual control character? I was stuck trying to convert some scripts from dos to unix format on a very small root filesystem. It did have sed but how the hell do you type in the character to match it and eliminate it?