summaryrefslogtreecommitdiff
path: root/usr.bin/tee
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-06-23 10:05:07 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-06-23 10:05:07 +0000
commitfcc879ad25caaeed3ef9d461d3ed798b51312062 (patch)
treead5a302c6711ca6fe01be3c9055aada1e1db5cfb /usr.bin/tee
parent63280725b2039ebb616adb2e29173de4f179144c (diff)
downloadsrc-test-fcc879ad25caaeed3ef9d461d3ed798b51312062.tar.gz
src-test-fcc879ad25caaeed3ef9d461d3ed798b51312062.zip
tee(1): Add EXAMPLES section
Add one simple example Approved by: bcr@ Differential Revision: https://reviews.freebsd.org/D25337
Notes
Notes: svn path=/head/; revision=362534
Diffstat (limited to 'usr.bin/tee')
-rw-r--r--usr.bin/tee/tee.16
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/tee/tee.1 b/usr.bin/tee/tee.1
index 003f487c373ef..660802a8f1c9b 100644
--- a/usr.bin/tee/tee.1
+++ b/usr.bin/tee/tee.1
@@ -31,7 +31,7 @@
.\" @(#)tee.1 8.1 (Berkeley) 6/6/93
.\" $FreeBSD$
.\"
-.Dd June 18, 2020
+.Dd June 23, 2020
.Dt TEE 1
.Os
.Sh NAME
@@ -75,7 +75,9 @@ option.
.Sh EXIT STATUS
.Ex -std
.Sh EXAMPLES
-Send echoed message both to stdout and to the greetings file:
+Send echoed message both to stdout and to the
+.Pa greetings.txt
+file:
.Bd -literal -offset indent
$ echo "Hello" | tee greetings.txt
Hello