Jason M. Lenthe on Wed, 23 Jun 1999 07:54:59 -0400 (EDT)


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

Re: [Plug] removing ^M from emacs


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