Is the &quot;right solution&quot; to use `tee`? I saw that once, and it seemed like we should be able to do better -- as if, had `tee` not been in the standard we wouldn&#x27;t have any way to do it...