From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Espen Newsgroups: gmane.emacs.help Subject: Re: Removing control M Date: Fri, 28 Feb 2014 16:25:41 -0500 Organization: A noiseless patient Spider Message-ID: References: <1393618592227-315636.post@n5.nabble.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1393623009 30059 80.91.229.3 (28 Feb 2014 21:30:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Feb 2014 21:30:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 28 22:30:19 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WJV0c-0005Ho-Jy for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Feb 2014 22:30:18 +0100 Original-Received: from localhost ([::1]:53347 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJV0c-00022d-6v for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Feb 2014 16:30:18 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!news.stack.nl!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Injection-Info: mx05.eternal-september.org; posting-host="189748f827f5005aa08ac3cba2786117"; logging-data="12010"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX185TR+wAAtLxsjReuag4JODYoFpi8hzhQ8=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:qF1N3SXpyyveUjp+2FQtCalbKMU= sha1:B/+YZeVnCxo/epIaN2q5mejXEJ8= Original-Xref: usenet.stanford.edu gnu.emacs.help:203961 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:96230 Archived-At: >>>>> "Jai" == Jai Dayal writes: Jai> dos2unix is not an emacs command, but a shell command. Jai> On Fri, Feb 28, 2014 at 3:16 PM, peaches20 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