try to

%s/$/balaba/

2009/10/12 PSN <[email protected]>:
>
> Hi All,
> My apologies if the same question is asked before. However, i have
> tried searching but could not find anything.
>
> Does any of you know how can i paste some text at the end of each line
> in a file. Note that the lines need not be of the same length
>
> Example:
> Before
> ----------
> line 1
> line two
> line three
>
> After
> -------
> line 1 text to be pasted
> line two text to be pasted
> line three text to be pasted
>
>
> Thanks for your time !!
>
>
> >
>

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

Reply via email to