On Tue, Aug 17, 2004 at 12:22:53PM +0900, Gavin Sinclair wrote: > _MY_ favourite is this: > > :g/abc/normal 3WdWA def > > (For exvery line that contains 'abc', delete the fourth word and > append ' def' to the line.) normal really is going to change the way i use vi. i can't believe i hadn't heard of this earlier! finally "ed" becomes more useful than a non confirming searching replace :) (reason that i haven't yet done a search replace implemention is because i actually use /blah<cr>cwblub\en.n.n.n.n.n.n. i can't stand nonconfirming replace :)) Alex -- Ummmmm ... Beeeeeeeeerrr..... - Simpson, Homer