To remove ^M's I've always used vi and entered the following cmd:

:%s/^V^M

and they go away.  There's also another command called col(1) that can do
this

Sincerely,

Scott Kupferschmidt
ISPrime, Inc.
866.502.4678 ext. 3
AIM: Scott ISPrime - ICQ: 174337249

On Thu, 15 Jan 2004, Evan Sayer wrote:

> FreeBSD-
> Please help, this is really important.  I was told that i could get rid 
> of the ^m symbols at the  end of the lines in my web page's html code 
> by using sed.  They said to execute sed "s//^m^m" index.html > 
> index.html or something like that.  This got rid of everything in the 
> file.  I really need this back, so any help would be greatly 
> appreciated.
> 
> _______________________________________________
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to