On 28 Nov 2000, Lokesh Setia wrote:

> I don't know how to force vim to show dos eol characters instead of
> going in dos mode.  However this should work:
> 
> # cd /etc/rc.d/
> # mv rc.sysinit rc.sysinit.bak
> # sed -e 's/^M//' rc.sysinit.bak > rc.sysinit
> # vi rc.sysinit         # to verify that dos mode is gone
> 
> To type the '^M' in the shell above you press two keys Ctrl-V then
> Ctrl-M. 

vi rc.sysinit
:g/^M/s///
:wq

This seems unrelated to your original question.

--
Sanjeev "ghane" Gupta                    Mob: +65 98551208
dotXtra Pte Ltd                          Fax: +65 2275776
Singapore                                email: [EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


------------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr

Reply via email to