From nobody Sun Nov 06 08:00:42 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N4my22k8Yz4hlG0; Sun, 6 Nov 2022 08:00:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N4my21p3Lz3f3t; Sun, 6 Nov 2022 08:00:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667721642; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EXrJlWCB1XA45C7op5y3wWaG2SUr0cOPfotJv5o8ktk=; b=mKNQKeNBaIsZeo0D8lc/irMi5C/mG3FJ8EXT/nl85bXD6CVYVy/ecfaf4aVpz0/n3gNIm5 jbOpQaBn3+QDhR4s/G1HEFX/ZJhNsxbgzI9dLu0aRI8MqNlZxJ/EO7SDNkgOXUQKCvLo9E lB+yG2iVqFFjCqMVNHWSc7+3QL2E7rMFfKXzVg2ITY45iuViWDeppT+9wDNFA0oUKP5L9i hX2doM5LO7bZn1ymuA1cNB1gg/9FKSAPcGsohIINECu/QDl8y98EkwQdryFWNfH1eJuYbJ OWo/V9pTQXvomtOcx893E+27nrrVkeMti8pDTtq9g7zarcMb9+kCF9JDKWjoQw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N4my20rVPz1CnD; Sun, 6 Nov 2022 08:00:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2A680gH1042502; Sun, 6 Nov 2022 08:00:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2A680gEV042501; Sun, 6 Nov 2022 08:00:42 GMT (envelope-from git) Date: Sun, 6 Nov 2022 08:00:42 GMT Message-Id: <202211060800.2A680gEV042501@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Gordon Bergling Subject: git: 120e13d6c7bf - stable/12 - tee(1): Add EXAMPLES section List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: gbe X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: 120e13d6c7bfcd8ec40059fe35dcc2d5ec13388e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667721642; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EXrJlWCB1XA45C7op5y3wWaG2SUr0cOPfotJv5o8ktk=; b=sass6scijW4sz3GM5UZGzqB79gkqYoFwKkaLMu5un3pM3NpGzxIkTw7/gJITBiwDuVJ+UK h3Zst2Dle7fALeua3meGsz/SwZMwva14sK2wrgfgBCq/h0mxlVZKpw7UdiQ35cYIJJBaNv ERANTuLONJtRbIhIOirjZSTQf7+zgDl5jZ7BK+v0/tL3IiXCyaAB82DrG1vHEC3YSIgXjS WiSWPzjne+MC7oPxB6Nc4q0grGFPE3TbdToZQ6JS6l5yW5yQxftBBqUt4aPJx03cuXnFFP 2rhis/ISEoJ8Fbl+m5Qivvs1aYCtrOGsJ4aznu8e4awzmstai/bOM/labvheiA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667721642; a=rsa-sha256; cv=none; b=TNbOMWUPOY7wWuRPHX6OwjpTn3aYcG/w89GDPPEOgExRKBtBSpR9zt6Eve8y6IvfHXPiRC kzZTFEkvD+KK7Q5rNrDJ/czY8nIevaVg0iONtLl7Ri2n1A3aijn7N3hU4YW2e47/kYag7q XzcS/+OgHTIYjj2uBxqMUa7ZJloEWmGy3IzNbhdaMSJKHEFhTaGGmJ0WzGFfFLZlOJTY6o LnkDwViwjUOFZYjUBS8kBs+J/7Ie6jQmtBw6WrpNSi4J3dj0/2fOykHxdjxCdos+Zjn1Dy swYDiZodwbj8KPZQvW7hx68fe/iq/BNjTFXRYtC/K8C8iZa/KHZ3UzAd1pCHBg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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 AuthorDate: 2020-06-23 10:05:07 +0000 Commit: Gordon Bergling 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