[UCLA-LUG] Getting rid of "^M"s in vi
Neil Nelson
n_nelson@pacbell.net
Fri, 07 Jul 2000 22:41:27 -0700
Denis wrote:
> > 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.
>
> denis
>
> _______________________________________________
> UCLALUG Linux mailing list - Linux@linux.ucla.edu
> http://linux.ucla.edu/mailman/listinfo/linux
There is also the dos2unix utility. A search of the web will
find a tar file to download.
Neil Nelson