This may not be exactly the answer you're looking for. You can easily achieve what you're asking by using the sed stream editor. This is available on all flavors of Unix, and also on Windows, by downloading a toolkit like cygwin. On the Unix shell command line run the command

sed 's/^/"/;s/$/"+/'

and paste the text you want to convert. On its output you'll obtain the converted text. The argument passed to sed says substitute (s) the beginning of a line (^) with a quote, and substitute (s) the end of each line ($) with a quote and a plus.

If the text you want to convert is large you may want to redirect sed's input and output through files. In such a case run something like

sed 's/^/"/;s/$/"+/' <inputfile >outputfile

On Windows you can also use the winclip command of the Outwit tool suite to directly change what's in the clipboard. Simply run

winclip -p | sed 's/^/"/;s/$/"+/' | winclip -c

The above command will paste the clipboard's contents into sed and the result back into the clipboard.

Finally, if you're often using this command, it makes sense placing it into a shell script file, so that you can easily run it. You can then even assign an Eclipse keyboard shortcut to it.

I have a ridiculous addition, which I think you might appreciate as a seder. You can avoid the additional + on the last line with sed 's/^/"/; s/$/"/; $! s/$/+/' --- $ means last line, and $! means not the last line.
–
13renFeb 9 '10 at 10:58