From owner-svn-src-all@freebsd.org Thu Jun 18 11:32:33 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 C0B6234D164; Thu, 18 Jun 2020 11:32:33 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-vs1-f46.google.com (mail-vs1-f46.google.com [209.85.217.46]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49nftS3wRlz4Yhv; Thu, 18 Jun 2020 11:32:32 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by mail-vs1-f46.google.com with SMTP id k13so3286247vsm.13; Thu, 18 Jun 2020 04:32:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=4JqhJ4Ma75dRSCIDx6eNhmIqq02bDlXV/b9KEsg+XW8=; b=bcdBrwzCwXNXyb/FUNB/XwGUsVfXjko32duv9GtPwGSuMOMAT9Ls/eAbxTFxcN035A y10v3CT4MtR+arHllQ7Ivg8O5fKd/AOeFyUBFRuM6d8jQsOIG1rKSo2jCaFuQy41P0TQ osYwTekcEGlPWDb+0Jfu9Sdjt+QzvV19zWc/2LNePlseGqkFYkpHHpkYE+KCKnd4jh/E c/TN83cTrRpgfZfRS5oQ8cz4SM+NoqnYxCeglD9Zid6GWvqn7t0mEKbCq6BmPausgpts WB5s1DVR4J7my+NOcKgaWlyEI/k3apU5kbqPtyx4zVRsrebBM21nYGKz6hgA9rKaookf zVLg== X-Gm-Message-State: AOAM530cPffSclQYwZNA6D3egw6J4rW5rgcfhsu4b/Yh531UoE6uz6Sf Kvea832s3Qr9S+A1MWxMbBTd1MFji9c= X-Google-Smtp-Source: ABdhPJxdxehVYjqUW6IhASasarq/+LewSBSjiRBF8Bk+V4b7jRYEVc6fffUOMH6AHV+RYJXkS368Hg== X-Received: by 2002:a67:4383:: with SMTP id q125mr2696964vsa.167.1592479951179; Thu, 18 Jun 2020 04:32:31 -0700 (PDT) Received: from mail-vs1-f47.google.com (mail-vs1-f47.google.com. [209.85.217.47]) by smtp.gmail.com with ESMTPSA id h190sm288720vka.53.2020.06.18.04.32.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 Jun 2020 04:32:30 -0700 (PDT) Received: by mail-vs1-f47.google.com with SMTP id t132so3307559vst.2; Thu, 18 Jun 2020 04:32:30 -0700 (PDT) X-Received: by 2002:a05:6102:2254:: with SMTP id e20mr2689983vsb.142.1592479950462; Thu, 18 Jun 2020 04:32:30 -0700 (PDT) MIME-Version: 1.0 References: <202006181048.05IAmcXI082275@repo.freebsd.org> <636fac36-30dd-42bf-02ab-4ebc5bf3a065@yuripv.dev> In-Reply-To: <636fac36-30dd-42bf-02ab-4ebc5bf3a065@yuripv.dev> From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= Date: Thu, 18 Jun 2020 14:32:00 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r362318 - head/usr.bin/tee To: Yuri Pankov Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 49nftS3wRlz4Yhv X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of fernandoapesteguia@gmail.com designates 209.85.217.46 as permitted sender) smtp.mailfrom=fernandoapesteguia@gmail.com X-Spamd-Result: default: False [4.94 / 15.00]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(0.00)[+ip4:209.85.128.0/17]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; ARC_NA(0.00)[]; SEM_URIBL_FRESH15(3.00)[yuripv.dev:email]; BAD_REP_POLICIES(0.10)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.20)[0.203]; NEURAL_SPAM_MEDIUM(0.71)[0.712]; NEURAL_SPAM_LONG(0.73)[0.725]; RCVD_IN_DNSWL_NONE(0.00)[209.85.217.46:from]; FORGED_SENDER(0.30)[fernape@freebsd.org,fernandoapesteguia@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.217.46:from]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[fernape@freebsd.org,fernandoapesteguia@gmail.com]; TAGGED_FROM(0.00)[] 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 11:32:33 -0000 On Thu, Jun 18, 2020 at 12:56 PM Yuri Pankov wrote: > > Fernando Apestegu=C3=ADa 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 > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > > --- 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 : It is probably better. I'm not a src/docs committer. Do you want me to create a new review for thi= s? > > > +.Bd -literal -offset indent > > +$ echo "Hello" | tee greetings.txt > > +Hello > > +.Ed > > .Sh STANDARDS > > The > > .Nm > > >