summary refs log tree commit diff
path: root/bin/man1/ptee.1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-07-08 19:35:02 -0400
committerJune McEnroe <june@causal.agency>2019-07-08 19:35:02 -0400
commitbe8a38d0f55ff7c5a570610adda0d1d981179b5a (patch)
treee0aa7e7a5d22cf5436f06bf5251e00b53e9a2e6a /bin/man1/ptee.1
parentAdd Wild Seed (diff)
downloadsrc-be8a38d0f55ff7c5a570610adda0d1d981179b5a.tar.gz
src-be8a38d0f55ff7c5a570610adda0d1d981179b5a.zip
Add ptee
Diffstat (limited to 'bin/man1/ptee.1')
-rw-r--r--bin/man1/ptee.127
1 files changed, 27 insertions, 0 deletions
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