From d3332df933560d743e2cf763b3d96417130acf31 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Mon, 8 Jul 2019 19:35:02 -0400 Subject: Add ptee --- bin/man1/ptee.1 | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 bin/man1/ptee.1 (limited to 'bin/man1') diff --git a/bin/man1/ptee.1 b/bin/man1/ptee.1 new file mode 100644 index 00000000..661c4888 --- /dev/null +++ b/bin/man1/ptee.1 @@ -0,0 +1,27 @@ +.Dd July 8, 2019 +.Dt PTEE 1 +.Os +. +.Sh NAME +.Nm ptee +.Nd tee for PTYs +. +.Sh SYNOPSIS +.Nm +.Ar command ... +.Cm > +.Ar file +. +.Sh DESCRIPTION +.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. +. +.Sh SEE ALSO +.Xr tee 1 -- cgit 1.4.1