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

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



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 debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
=============================================================
Steve Mayer				Oracle Corporation
Senior Member of Technical Staff	1211 SW 5th Ave.
Portland Development Center 		Suite 900
Stephen.Mayer@oracle.com		Portland, OR 97204 
Phone:  503-525-3127
=============================================================



Reply to: