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

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

How to replace a certain line on vi,


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 :)

Reply to: