pipeclip (hackage): This opens up your $EDITOR or $VISUAL using the editor-open library. It then takes the edited text and sends it to the X11 clipboard.  As such, this will only work if you have X11. Translated, this is limited to Linux and BSD.
Keywords: bsd2|program|system|text