.Dd July 8, 2019
.Dt PTEE 1
.Os..ShNAME.Nm ptee
.Nd tee for PTYs
..ShSYNOPSIS.Nm.Ar command ...
.Cm >
.Ar file
..ShDESCRIPTION.Nm
runs
.Ar command
in a new PTY
which is mirrored to
the current PTY
and standard output.
Standard output must be redirected
to a file or pipe.
..ShSEE ALSO.Xr tee 1