I want to append text to multiple lines.

For example:

apple
bacon
coconut
...

I want to end up with:

appleNEW TEXT
baconNEW TEXT
coconutNEW TEXT
...

I found how to prepend text with :x,y s/^/NEW TEXT/

That gets me:

NEW TEXTapple
NEW TEXTbacon
NEW TEXTcoconut
...

-- 
***********************************************************************
* John Oliver                             http://www.john-oliver.net/ *
*                                                                     *
***********************************************************************


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to