[UCLA-LUG] Getting rid of "^M"s in vi

Denis kiev78@pacbell.net
Sun, 09 Jul 2000 08:18:29 -0700


yeah. you're right. sorry.

denis

----- Original Message ----- 
From: "Joshua Uziel" <uzi@linuxcare.com>
To: <linux@linux.ucla.edu>
Sent: Saturday, July 08, 2000 4:39 PM
Subject: Re: [UCLA-LUG] Getting rid of "^M"s in vi


> * Denis <kiev78@pacbell.net> [000708 16:21]:
> > > Another way (that I use, and I think it's more direct) is to do
> > >
> > >         :%s/^V^M//g
> > 
> > i may be mistaken, but i think this is a VIM thing. i am not sure if
> > Vi has ^V. i am pretty sure it does not. also, not all distros ship
> > with vim. debian, for example, does not use ( as far as i know) vim as
> > default editor.
> 
> I'm pretty damn sure that ^V is a Unix-ism... not a Vim-ism.
> Have you tried?  I believe I recall using it with standard Solaris
> vi in the past...
> 
> Besides... you can use it in a shell prompt.  I've used it quite
> a bit in the past...
> 
> -- 
> Joshua Uziel, Senior Linux Consultant, Linuxcare, Inc.
> 415.354.4878 tel, 415.701.7457 fax
> uzi@linuxcare.com, http://www.linuxcare.com/
> Linuxcare. Support for the revolution.
> 
> _______________________________________________
> UCLALUG Linux mailing list - Linux@linux.ucla.edu
> http://linux.ucla.edu/mailman/listinfo/linux