Ever wanted to tee data into multiple places, without having to start your pipeline over? Try this program, called "mtee". It's written in python.

Usage is like:

...this constructs three pipelines, all running against the same stdin read once, and written 3 times, all independent of each other aside from running against the same input data.

Another form of usage:

Oct 24 2005:
Modified to allow use of "-f filename" to read a list of commands from filename

Mar 9, 2005:
Modified to use 1 megabyte blocks, instead of lines. It's now much faster on large files.




Back to Dan's tech tidbits