Hi.
How does one read the content of the clipboard into a bash script?
The script should fetch the current content of the clipboard
when started and put it into an internal variable for later processing.
It *is* possible, since there I know at least one script which does this
(the 'steak' translator), but the script uses a self-supplied program
('printbuffer') which I want to avoid. It refers to another
program called 'xcb' but that doesn't seem to be standard either ...
I've looked around, but I can't find the file / variable where the
content of the clipboard is stored. There must be something, though, or
else you couldn't paste the content with SHIFT-INS, could you?
No, it's not in /proc ...
Thanks
tom
--
Thomas 'tom' Berger, [EMAIL PROTECTED], http://www.mandrakeuser.org/
"Outside? Outside what?"
(http://ars.userfriendly.org/cartoons/?id=20000612&mode=classic)
All advice provided without warranty of any kind. I *may* be wrong ...