tee(1): Add EXAMPLES section
Add one simple example Approved by: bcr@ Differential Revision: https://reviews.freebsd.org/D25337
This commit is contained in:
parent
63280725b2
commit
fcc879ad25
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=362534
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user