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

Re: vi



On Tue, 15 Apr 1997 08:34:53 +0300 Vadim Vygonets (vadik@cs.huji.ac.il
) wrote:

> Well, in vi you can do:
> 1G				Go to the beginning
> :%s/129.168.1/129.168.200/	(if I remember it right)
> Still better...

To be a purist, the 1G isn't necessary.
But your regexp will also match:
	129016801
So it should be:
	:%s/129\.168\.1/129.168.200/g

Phil.



Reply to: