git: 120e13d6c7bf - stable/12 - tee(1): Add EXAMPLES section
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 06 Nov 2022 08:00:42 UTC
The branch stable/12 has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=120e13d6c7bfcd8ec40059fe35dcc2d5ec13388e
commit 120e13d6c7bfcd8ec40059fe35dcc2d5ec13388e
Author: Fernando ApesteguĂa <fernape@FreeBSD.org>
AuthorDate: 2020-06-23 10:05:07 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-11-06 07:59:06 +0000
tee(1): Add EXAMPLES section
Add one simple example
Approved by: bcr@
Differential Revision: https://reviews.freebsd.org/D25337
(cherry picked from commit fcc879ad25caaeed3ef9d461d3ed798b51312062)
---
usr.bin/tee/tee.1 | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/usr.bin/tee/tee.1 b/usr.bin/tee/tee.1
index 003f487c373e..660802a8f1c9 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