I've got a mahooosive text file of some netware contexts and for each line I need to replace the root container. So for example;
bob.jimmy.centre
needs to be
bob.jimmy.newplace
(on around 2000 lines)
Its probably quite obvious but how can I do this in vi using a global replace command?
:%s/*.*.centre/*.*.newplace/g
Although thats absolute or whatever, so *.*.newplace does actually get pumped in.
Anyone got any ideas?
Thanks for your help.
bob.jimmy.centre
needs to be
bob.jimmy.newplace
(on around 2000 lines)
Its probably quite obvious but how can I do this in vi using a global replace command?
:%s/*.*.centre/*.*.newplace/g
Although thats absolute or whatever, so *.*.newplace does actually get pumped in.
Anyone got any ideas?
Thanks for your help.