Tuesday, August 25, 2009

Regex help

Hi all,

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?


-- 
Regards,

Marcelo Sabino
python -c "print ''.join([chr(154 - ord(c)) for c in  'M9(75.+zG981,+'])"
Site: http://www.marcelosabino.com

"Precisamos de mais gĂȘnios humildes no mundo, hoje somos poucos."


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

No comments: