Date: Fri, 27 Oct 2006 15:52:01 -0400 From: Mike Ginsburg <mginsburg@collaborativefusion.com> To: freebsd-questions@freebsd.org Subject: Re: replacing ^M with emacs Message-ID: <45426361.40601@collaborativefusion.com> In-Reply-To: <6.0.0.22.2.20061027144308.0216e270@mail.computinginnovations.com> References: <45425D61.6030209@enabled.com> <6.0.0.22.2.20061027144308.0216e270@mail.computinginnovations.com>
next in thread | previous in thread | raw e-mail | index | archive | help
There is a program in ports called unix2dos. With it comes the command dos2unix that automatically goes through the specified file and removes all of the ^M --Mike Ginsburg Derek Ragona wrote: > Those ^M's are the MS-DOS EOL character. You can use sed, or tr to > remove them via a commandline pipe. > > -Derek > > > At 02:26 PM 10/27/2006, Noah wrote: >> Hi there, >> >> It appears that a text editor placed a bunch on ^M throughout a text >> file I am working with. I assure this is equivalent to eh keystroke >> control-M. >> >> How might I get emacs to search replace >> >> also is there a mail list focused specifically on emacs usability? >> please refer me to it? >> >> Cheers, >> >> Noah >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> >> -- >> This message has been scanned for viruses and >> dangerous content by MailScanner, and is >> believed to be clean. >> MailScanner thanks transtec Computers for their support. >> >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45426361.40601>