Edit multiple files in VI
Hi guys,
I am working as a sys engineer on AIX and need to edit some files. At the moment we are setting up multiple Oracle instances and I have created some scripts for doing this. What I would like to do is to be able to edit the db name in four different files at the same time with same information, instead of modifying every script by itself. How can I do this? I am sure it can be done in VI but I am open for any suggestions you have. What I do is a :%s/XXX/YYY/g in VI.
Please help me with a sweet hack.
|