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?
>
You could try the escape character \r,   tr -d '\r'

KenF



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to