TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:9061] regex



On Oct 11, 1999, Eric Hillman <ehillman@cccu.com> wrote:
> 
> You can repeat the change filewide by using the command
> 
> :1,$ s/foo/bar/g

And if you're really lazy (like me) you can shorten it to this:

:%s/foo/bar/g

'%' is equivalent to '1,$'.

John