astrand / xclip

Command line interface to the X11 clipboard
GNU General Public License v2.0
1.04k stars 75 forks source link

Feature: Add parameter text to clipboard #51

Open Golutazem opened 5 years ago

Golutazem commented 5 years ago

This is a feature request to add the text of a parameter or parameters to the clipboard or selection. The text of the parameter itself would be added -- not a file or input identified by it.

hackerb9 commented 4 years ago

I agree that sounds like a good idea and should be easy to implement. I don't know if the author of xclip would accept it, though.

In the meantime, here's an ugly workaround using Bash's "Here Strings":

xclip <<< "I am not a fish."