Date: Sat, 28 Aug 2004 05:46:04 +0200 From: Radek Kozlowski <radek@raadradd.com> To: Mike Jeays <Mike.Jeays@rogers.com> Cc: f-questions <freebsd-questions@freebsd.org> Subject: Re: vi editor related question Message-ID: <20040828034604.GA492@werd> In-Reply-To: <1093661524.743.111.camel@chaucer> References: <34b425c50408271652314776b1@mail.gmail.com> <20040828004618.GA2856@moo.holy.cow> <1093661524.743.111.camel@chaucer>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 27, 2004 at 10:52:04PM -0400, Mike Jeays wrote: > If you are using plain vi, you can get rid of the unwanted characters > with the command > :1,$s/ctrl-v-m//g where "ctrl-v-m' means hold down the Ctrl key while > you press v followed by m. You will see them magically disappear. Another way to do this: %s/\r// (% - act on all lines) -Radek
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040828034604.GA492>