Louie,

 Try   :50,100s/Jan 2/Jan 1/g

Steve

On Tue, Feb 05, 2002 at 04:08:05AM +0800, louie miranda wrote:
> 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 [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
=============================================================
Steve Mayer                             Oracle Corporation
Senior Member of Technical Staff        1211 SW 5th Ave.
Portland Development Center             Suite 900
[EMAIL PROTECTED]               Portland, OR 97204 
Phone:  503-525-3127
=============================================================

Reply via email to