[ale] FAQ alert: Losing ^M

Michael D. Hirsch mdhirsch at mail.com
Wed May 8 09:52:36 EDT 2002


Joseph A Knapka writes:
 > "Randolph C. Karrh" wrote:
 > > 
 > > An easy way is use "pico" file  and control O  or ^O, you will have saved the file without the winders control charaters.
 > 
 > You know, the really sad thing is that I couldn't figure
 > out how to do it in Emacs... "ESC-x replace-string ^Q^M Return Return"
 > wouldn't do it ("Replaced 0 occurrences", even though I
 > could look at the file in hexl-mode and see the 0x0D
 > characters).

In emacs the following keystrokes will convert from dos to unix:

    C-x RET f nil RET

--Michael

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list