Andrew White on Wed, 23 Jun 1999 08:09:13 -0400 (EDT)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [Plug] removing ^M from emacs


Also, in emacs, this will work:

M-x replace-string<enter>^Q^M<enter><enter>

-Andrew


On Wed, 23 Jun 1999, Jason M. Lenthe wrote:

> My favorite way of doing this is at the command prompt do:
> 
> cat <FileName> | tr -d '\r' > out; mv out <FileName>
> 
> At 01:21 AM 6/23/99 -0400, you wrote:
> >I have code created on windows that I want use on emacs. the text file
> >created on windows has a ^M at the end of the line when read in from
> >emacs. How do I get rid of those ^M?
> >
> >
> >tia,
> >son
> >
> >
> >
> >_______________________________________________
> >Plug maillist  -  Plug@lists.nothinbut.net
> >http://lists.nothinbut.net/mail/listinfo/plug
> > 
> 
> 
> _______________________________________________
> Plug maillist  -  Plug@lists.nothinbut.net
> http://lists.nothinbut.net/mail/listinfo/plug
> 


_______________________________________________
Plug maillist  -  Plug@lists.nothinbut.net
http://lists.nothinbut.net/mail/listinfo/plug