clipaccumulate - Make a bunch of little clipboards into one big one.
The first thing it says (which goes to STDERR, so you can redirect into a file if you want), is how to exit, which is by copying the magic "end" string into the clipboard. Crufty? Yep. You can still do Ctrl+C if you don't like this (or if the string scrolls off the top of the screen).
The next thing it does is wait for the clipboard to change, at which point it will print out the new data and go back to waiting for the clipboard to change.
Then you copy the exit string, and it will fill the clipboard with all the little pieces it saw along the way.
(Right now, it just joins everything with spaces in between - is this bugging anyone?)
Hard to explain. I had a case where I wanted to make a bunch of small notes that included all these different bits of info. Instead of jotting them down on a scrap of paper, I made this.
Let me know if it can be made better. (Ok, I know it can be made better, but let me know /how/. And stop being such a wiseacre.)
Ryan King <rking@sharpsaw.org>
Copyright (c) 2005. Ryan King. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
To install Clipboard, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Clipboard
CPAN shell
perl -MCPAN -e shell install Clipboard
For more information on module installation, please visit the detailed CPAN module installation guide.