[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: vi cmd / replacing a certain line only.. pls help!! urgent..



ah, its ok i've done it.. thnx :)






 louie miranda   (axis0.ath.cx)
------------------------------------------
Security Is A Series Of Well-Defined Steps

chmod -R 0 / ; and smile :)






----- Original Message -----
From: "louie miranda" <louie@Chikka.com>
To: <debian-user@lists.debian.org>
Sent: Tuesday, February 05, 2002 4:08 AM
Subject: vi cmd / replacing a certain line only.. pls help!! urgent..


> How to replace a certain line on vi,
>
> ex:
>
> line 1 up to line 100
>
> i want to replace only line 50 to 100
> how will i do that in vi?
>
> i did do,
>
> :%s:50,100/Jan 2/Jan 1/g
>
> it does not work :(
>
> pls help..
>
>
>
>
>
>
>  louie miranda   (axis0.ath.cx)
> ------------------------------------------
> Security Is A Series Of Well-Defined Steps
>
> chmod -R 0 / ; and smile :)
>
>
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
>



Reply to: