Simple version of linux tool tee