pipetee-1.0.0 is not a library.
pipetee
A simple, fast, no-dependencies UNIX utility to print the contents of stdin to the terminal and forward them to stdout at the same time.
Example usage:
# output from pt will interleave with output from
# sed at the granularity of the buffer
| |
| |
# look at intermediate results if the final output takes a long time.
| | | |
# unsorted
# sorted
How does it work?
It reads from stdin and writes to both stdout and /dev/tty. Your shell will redirect stdout to whatever the next pipe is, but /dev/tty (what stdout defaults to on most shells) will remain untouched.