I've used `tee` in the past to write to a file and print the output in the terminal. I was wondering if there is an equivalent to print to terminal and forward to the next pipe.
E.g.
So this example would print "test" and send an email with "test" as the body.
E.g.
Code:
echo "test" | tee | mail me@host.local