help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Removing control M


From: Dan Espen
Subject: Re: Removing control M
Date: Fri, 28 Feb 2014 16:25:41 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

>>>>> "Jai" == Jai Dayal <address@hidden> writes:

    Jai> dos2unix is not an emacs command, but a shell command.
    Jai> On Fri, Feb 28, 2014 at 3:16 PM, peaches20 <address@hidden> wrote:

    >> Hi,
    >> 
    >> I've transferred several dos files to unix.  I now have the
    >> control M at tne end of the line.  How does one remove this
    >> globally.  I tried the dos2unis but that is not in my emacs
    >> commands.

To remove the control M's, just use Emacs normal find replace.
To type a ^M. type ^Q first.

A normally operating ftp program would have converted line endings
automatically assuming you used ascii mode (not binary).

-- 
Dan Espen


reply via email to

[Prev in Thread] Current Thread [Next in Thread]