A simple non-solution is to change the dofile argument to the getbytearg call to false, which of course kills the full path expansion of the argument :-(, but at least doesn't kill the suffix.
I'd be happy to see the suffix not killed when the selected text was non-null.
Paul
On 9-Apr-05, at 9:00 AM, Rob Pike wrote:
The thinking in the underlying code, which was co-opted for this purpose, is that a 'word' ends at punctuation. It's pretty deeply rooted and would be annoying to change in general, which will mean hacking it for your particular purpose.
Instead, I recommend just avoiding expansion in this case and selecting the whole string you wish to send.
-rob
