clipaccumulate (1) - Linux Manuals
clipaccumulate: Make a bunch of little clipboards into one big one.
clipaccumulate - Make a bunch of little clipboards into one big one.
USAGEThe 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?)
MOTIVATIONHard to explain. I run into cases 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 how it can be made better.
AUTHORRyan King <rking [at] panoptic.com>
COPYRIGHTCopyright (c) 2010. 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.