sed question, remove ^M

From: Brehl, Blake (Blake.Brehl@anritsu.com)
Date: Mon Jul 29 2002 - 14:13:38 EDT


Hello, Admin's,

our better half over the pond has delivered a file that was edited with a
Windows based editor, which has left the "^M" characters (return of line?)
at the end of each line:

                Parent(s):^M
                spec :^M
                ^M
                History:^M

I've attempted several sed commands to remove these with no luck:
                :%s!{^M}!!g
                :%s!`^M`!!g

, but I'm sure I've seen this done. Can anyone help with the correct
syntax?

Best Regards,

Blake Brehl
Sr. DBA
Anritsu Company United States
Morgan Hill, CA
        

This message is intended for the use of the individual/entity to whom it is addressed. This message may contain privileged information exempt from disclosure. If you are not the addressee, distribution or copying of this message, or dissemination of the information contained herein is strictly prohibited. If you should receive this message in error, please destroy it, or return to sender, Thank You



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:47 EDT