Reading clipboard contents with a bash script
Joel Hammer
Joel
Mon May 17 11:28:29 PDT 2004
I was pointed to the following very nice utility by a fellow on the mutt
email loop:
http://freshmeat.net/projects/xclip/
It installed without any complaints, very simple.
the command:
xclip -o
just sticks whatever is in the clipboard into your commandline or script.
You can also write stuff to the clipboard, too.
update | xclip
for example.
This is one handy utility.
I use a text mode email client in a kde environment because:
1. It is very fast.
2. It never crashes.
3. I can log on from work and check my email from there, with a telnet
session (Yes, I know. Very insecure. I haven't been hacked since I was a wet
behind the ears newbie and likely won't be. I am paranoid.)
Joel
More information about the Linux-users
mailing list