Date: Tue, 1 Aug 2000 10:18:46 -0700 (PDT) From: <keith@mail.telestream.com> To: Adam Hefetz <adam_hefetz@hotmail.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: vi Message-ID: <Pine.LNX.4.10.10008011017280.18690-100000@mail.telestream.com> In-Reply-To: <F5QinOkrx8BiC6HbSzx00000e97@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
:%s/^M//g to get an actual ^M in there you have to hold down ctrl+v and while still depresing the ctrl key, lift finger off of the v and hit the m key Keith ================================= Keith W. At the helm <for better or worse> My non work related site www.cydonia.net ================================= On Tue, 1 Aug 2000, Adam Hefetz wrote: > Hi, > Every time I open a text file on vi, I get '^M' in the end of each line. For > example: > > Hello, world!^M > Bye.^M > > How can I get these signs of other then deleting them manually? > > Adam > ________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.10008011017280.18690-100000>