LeRoy D. Cressy on Wed, 23 Jun 1999 17:34:50 -0400 (EDT) |
Son To 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 Hi all, In the Dos/Windows world text files end each line with a carrage return and a new line \r\n. Linux and UNIX on the other hand just end the line with a new line character \n. There is a utility called dos2unix which removes the ^m or what is really a carrage return character. -- 0 0 L & R Associates " Home Page: http://www.netaxs.com/~ldc/ _______ooO ~ Ooo_______________________________________________ LeRoy D. Cressy /\_/\ ldc@netaxs.com Computer Consulting ( o.o ) Phone (215) 535-4037 > ^ < Fax (215) 535-4285 _______________________________________________ Plug maillist - Plug@lists.nothinbut.net http://lists.nothinbut.net/mail/listinfo/plug
|
|