Thursday, August 27, 2009

Re: Regex help

2009/8/25 Marcelo Sabino <marcelo.sabino@gmail.com>:
> I'm having "troubles" with ER on vi. Let me explain. I have this data
> 03;14;Production;trombetas;Xeon;RHEL;-;PPE;-;F1-A0.3;|
> and I want to copy the data of third field to the last field, like this
> 03;14;Production;trombetas;Xeon;RHEL;-;PPE;-;F1-A0.3;|trombetas
> How can I do this magic?

Why don't you use a macro? It seems better suited for this type of task to me.

--
Tomas

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

No comments:

Post a Comment