tee(1): Add EXAMPLES section
Probably the simplest one ever. Approved by: gbe@, 0mp@ Differential Revision: https://reviews.freebsd.org/D25206
This commit is contained in:
parent
15597d5df2
commit
d70bfedd08
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=362318
@ -31,7 +31,7 @@
|
||||
.\" @(#)tee.1 8.1 (Berkeley) 6/6/93
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd November 13, 2007
|
||||
.Dd June 18, 2020
|
||||
.Dt TEE 1
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -74,6 +74,12 @@ except in the event of the
|
||||
option.
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh EXAMPLES
|
||||
Send echoed message both to stdout and to the greetings file:
|
||||
.Bd -literal -offset indent
|
||||
$ echo "Hello" | tee greetings.txt
|
||||
Hello
|
||||
.Ed
|
||||
.Sh STANDARDS
|
||||
The
|
||||
.Nm
|
||||
|
Loading…
Reference in New Issue
Block a user