On Thu, Jun 4, 2009 at 9:05 PM, Teemu Likonen<[email protected]> wrote: > >> AAAA BB CCCCCC >> >> Must be come >> >> CCCCCC AAAA BB > > :g/^AAAA/s/^.*$/\=split(submatch(0))[-1].' '.join(split(submatch(0))[0:-2],' > ')
How do you change the above solution when you want AAAA BB CCCCCC to be changed into AAAA CCCCCC BB Rgds, Jeri --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
