[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: [LIH] Trouble with rc.sysinit
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: ghane@xxxxxxxxxxx
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~