On 03/14/2011 12:31 PM, alfred inacio wrote: > Hi Eric, > > Thanks for your help here. I know exactly what I want, a very simple > application which copies the output into the clipboard... for example, say > my program is called bordpst... then if I did this: > > pwd > bordpst > > then, I went into my GUI and pressed ctrl + v, I would paste the directly I > was in from above. I couldn't find anything like this. Maybe I didn't look > hard enough?
Sounds like you want to reinvent xclip. pwd | xclip then you can ctrl-v that output into anything that understands how to read the X clipboard. But that's a much more complex program than one of the GNU Coreutils, since it involves interactions with X11 code. -- Eric Blake [email protected] +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
