aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFerass El Hafidi <vitali64pmemail@protonmail.com>2023-02-27 17:24:10 +0100
committerFerass El Hafidi <vitali64pmemail@protonmail.com>2023-02-27 17:24:10 +0100
commit045d3428e58f46477e1fee7106cd1182afafae2a (patch)
treec359a9c64fee112d3d43e2aa7cc2ef26b4575214
parente45c3091e61b79e6596674715b394af0dd20f87f (diff)
downloadfases-045d3428e58f46477e1fee7106cd1182afafae2a.tar.gz
fases-045d3428e58f46477e1fee7106cd1182afafae2a.zip
man/: tee.1
Signed-off-by: Ferass El Hafidi <vitali64pmemail@protonmail.com>
-rw-r--r--man/tee.138
1 files changed, 38 insertions, 0 deletions
diff --git a/man/tee.1 b/man/tee.1
new file mode 100644
index 0000000..8a49cd0
--- /dev/null
+++ b/man/tee.1
@@ -0,0 +1,38 @@
+TEE(1) "fases core"
+
+# NAME
+
+tee - duplicate standard input
+
+# SYNOPSIS
+
+*tee* [*-ai*] [*file...*]
+
+# DESCRIPTION
+
+Duplicate standard input. By default, with no options or files specified, tee
+acts just like cat; it copies standard input to standard output. With files
+specified, tee not only copies standard input to standard output, but it also
+copies it to the files specified by the user.
+
+*-a*
+ Append the output to the files instead of overriding them.
+
+*-i*
+ Ignore the SIGINT signal, which is triggered by <Ctrl> + <C> on the keyboard.
+
+# EXAMPLES
+
+*cat file.txt | tee one.txt two.txt three.txt four.txt five.txt*
+ Copy cat's output to the files one.txt, two.txt, three.txt, four.txt,
+ five.txt.
+
+# AUTHOR
+
+Written by Ferass El Hafidi as part of the fases project.
+
+Source code is at http://git.vitali64.duckdns.org/utils/fases.git.
+
+# COPYRIGHT
+
+Copyright (C) 2023 Ferass El Hafidi