Thanks a lot -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Maxim Kim Sent: Monday, November 24, 2008 4:04 PM To: vim_use Subject: Re: Hello, how to do?
Use macros, friend. It is uber. For example: qq 0/dbf F/lyt./logfile ef.f.Pj q [EMAIL PROTECTED] On 24 нояб, 21:55, "Wang, Sheng (Controllers, Controllers)" <[EMAIL PROTECTED]> wrote: > Hello, friends, > I have a huge file like: > > dbv file=/sja7/appl/oracle/ship/system01.dbf feedback=100 > logfile=./.log > blocksize=8192 > dbv file=/sja8/appl/oracle/ship/undotbs.dbf feedback=100 > logfile=./.log > blocksize=8192 > dbv file=/sja7/appl/oracle/ship/tools.dbf feedback=100 logfile=./.log > blocksize=8192 > dbv file=/sja7/appl/oracle/ship/dtuser_01.dbf feedback=100 > logfile=./.log blocksize=8192 ..... > > how can I change them to like below (acturally, how to add logfile > names which is conresponding to its datafile names) by using vim? > > dbv file=/sja7/appl/oracle/ship/system01.dbf feedback=100 > logfile=./system01.log blocksize=8192 dbv > file=/sja8/appl/oracle/ship/undotbs.dbf feedback=100 > logfile=./undotbs.log blocksize=8192 dbv > file=/sja7/appl/oracle/ship/tools.dbf feedback=100 > logfile=./tools.log blocksize=8192 dbv > file=/sja7/appl/oracle/ship/dtuser_01.dbf feedback=100 > logfile=./dtuser_01.log blocksize=8192 ............ > > Thank you very much > > Jerry > > Sheng Wang > HIG Reinsurance IT > (860)547 3563 > > ************************************************************ > This communication, including attachments, is for the exclusive use of > addressee and may contain proprietary, confidential and/or privileged > information. If you are not the intended recipient, any use, copying, > disclosure, dissemination or distribution is strictly prohibited. If you are > not the intended recipient, please notify the sender immediately by return > e-mail, delete this communication and destroy all copies. > ************************************************************ ************************************************************ This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************ --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
