I often use split to break huge files into multi-CD images, such as for backups or archiving. At the same time, I often find I'm low on disk space, so I would like to process each split file chunk as they appear instead of doing it all at once at the end.
I wrote a patch that adds exec and pause functionality with the following arguments:
-e, --exec=CMD run CMD after each output file is closed
-w, --exec-wait=CMD run CMD after each output file is closed
and wait for the child to exit
-p, --pause pause for keypress after each output file is closed
I find these features very useful, so I hope they make it into the official coreutils tarball.
If anyone has any tips on how to handle recovering a tty-based STDIN (see the split source code), please let me know. I'm currently just open()ing the tty on STDOUT, but that is not ideal.
I can relate to your complaint. I joined advogato for the same reason, except I wanted to comment on the FreeDCE article from a while back.
I appreciate that advogato is not your average blog site, and because of that, it is remarkably spam-lite. Still, it is frustrating when becoming a full fledged member requires bugging other people to certify you.
I suppose I should get back to hacking now too. :-)
Created by Chronicle vUNRELEASED