From owner-svn-src-all@freebsd.org Thu Jun 18 10:56:57 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E2B8B34C72F; Thu, 18 Jun 2020 10:56:57 +0000 (UTC) (envelope-from yuripv@yuripv.dev) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49nf5P4GFyz4WbT; Thu, 18 Jun 2020 10:56:57 +0000 (UTC) (envelope-from yuripv@yuripv.dev) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id BF0A45C010D; Thu, 18 Jun 2020 06:56:56 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 18 Jun 2020 06:56:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yuripv.dev; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=G 5tUutLyR56sQd1V16zl5NQKlC7gbeOrq+rDVpNvPKg=; b=M21SoeMJ2H/tlUdZe wGsnRsEuD6HRRhV7wNSw+g0csLvK21IQxpEio5VfIa93TWOaLPssByZf9hGMqWk1 18jLBUIUu9r9XrgbBNnT3eUcxXR516VHDD1P+337Rhy6hwK3qEgM5z4USRgjo2mf ufFw+HFgg/DQCZFYOX4aRoowClOBJ4txZuq2nwKPrpSW1567t/qgZFFGtTbLeWyH bq6/gscF3tTCYW6KOqmTwVpcr5b+9F+dvLTc9fvf5SxAdkSMlEl2xl8FUUqbbJQ0 PBWxqR7DdXINKRZbBpfyJeHvq5khbQ7eDHBvlrH2pHzh3bU7gFfpju+WB2U4yenB E66ww== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=G5tUutLyR56sQd1V16zl5NQKlC7gbeOrq+rDVpNvP Kg=; b=X9nkI5TkVILh0+OVhfDmNsZ6JWD0OakRoRaWvd2bkT88w9gXr2nSNS6Ub fr+l+uYR4p1AWLSuXLFX+my2Mn2LXC+lpHUOUhtjS1c2WIsH59ymD1VVk6l+YK4T KNbDyOUUsrn9qEipCk3KcwrhfvDr9hqIoXGE2wOwSwcATLSVsND3ZUW08H9FdxWq YdQpQqMro2nWag7gNZKNVa/xKUZCqanu1iJo2KYrOuU3VjU51hpqNNiDPkVA5+HE XTQv3iEqFCE7wQIBgPxeLKQJSpbPqZWoCxU+3ol/tCkn644uS5lFFUEDUEF/Yj7a fEwb5t83jUqm7YnnU7pHSa0VYRHhw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudejgedgfeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtke ertddtfeejnecuhfhrohhmpegjuhhrihcurfgrnhhkohhvuceohihurhhiphhvseihuhhr ihhpvhdruggvvheqnecuggftrfgrthhtvghrnhepkeegieettdetudehtefhhfelvdefge evteevhedtfefgvedtvefhtefhvefhhfeknecuffhomhgrihhnpehfrhgvvggsshgurdho rhhgpdhtgihtrdgsugenucfkphepledurddvgedtrdduvdegrddufeejnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhephihurhhiphhvseihuhhr ihhpvhdruggvvh X-ME-Proxy: Received: from [192.168.1.6] (unknown [91.240.124.137]) by mail.messagingengine.com (Postfix) with ESMTPA id B2DE5328005E; Thu, 18 Jun 2020 06:56:55 -0400 (EDT) Subject: Re: svn commit: r362318 - head/usr.bin/tee To: =?UTF-8?Q?Fernando_Apestegu=c3=ada?= , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <202006181048.05IAmcXI082275@repo.freebsd.org> From: Yuri Pankov Message-ID: <636fac36-30dd-42bf-02ab-4ebc5bf3a065@yuripv.dev> Date: Thu, 18 Jun 2020 13:56:54 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <202006181048.05IAmcXI082275@repo.freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 49nf5P4GFyz4WbT X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2020 10:56:57 -0000 Fernando ApesteguĂ­a wrote: > Author: fernape (ports committer) > Date: Thu Jun 18 10:48:37 2020 > New Revision: 362318 > URL: https://svnweb.freebsd.org/changeset/base/362318 > > Log: > tee(1): Add EXAMPLES section > > Probably the simplest one ever. > > Approved by: gbe@, 0mp@ > Differential Revision: https://reviews.freebsd.org/D25206 > > Modified: > head/usr.bin/tee/tee.1 > > Modified: head/usr.bin/tee/tee.1 > ============================================================================== > --- head/usr.bin/tee/tee.1 Thu Jun 18 10:47:30 2020 (r362317) > +++ head/usr.bin/tee/tee.1 Thu Jun 18 10:48:37 2020 (r362318) > @@ -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: Should this be like the following, at least to get the filename right? Send echoed message both to stdout and to the file .Pa greetings.txt : > +.Bd -literal -offset indent > +$ echo "Hello" | tee greetings.txt > +Hello > +.Ed > .Sh STANDARDS > The > .Nm >