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

Re: vi



On Mon, 14 Apr 1997, Philippe Troin wrote:

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

Yeah that's right.  My fault.  I said I don't exactly remember!

Yerz
Vad.

--
Vadim Vygonets * vadik@cs.huji.ac.il * vadik@debian.org * Unix admin
If you think C++ is not overly complicated, just what is a protected
abstract virtual base pure virtual private destructor, and when was
the last time you needed one?  -- Tom Cargil, C++ Journal, Fall 1990.


Reply to: