Mon, 17 Sep 2007
Command of the Day
I will probably show my own level of ignorance here, but let me show you an useful utility which can improve the integration of the command line and desktop:
a command-line utility for manipulating X11 selections from the command line.
If you wondered how text with tabs (such as
could be copied and pasted using X11, here it is:
diff -u old.file new.file | xclip
There are more options (such as reading the selection from the command line). Hope this helps (seen in this article at KernelTrap).
2 replies for this story:
Milan Zamazal wrote: xclip is redundant
I've got good news for you, you can be saved from your ignorance: Look for `Emacs' next time. :-) (In case you wonder what Emacs is, it's an acronym: "Emacs Manipulates All Common Selections".)
Yenya wrote: Good one
Thanks for a good joke, I need a good laugh from time to time :-)