From nobody Fri Sep 22 15:07:46 2023 X-Original-To: dev-commits-src-branches@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 4RsbH658ksz4v0jy; Fri, 22 Sep 2023 15:07:46 +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 4RsbH62LcRz3Zw3; Fri, 22 Sep 2023 15:07:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695395266; 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=0f0faUgJV7NAA7GNoqLwCfQT4+fVRcHPuVKySnObqmg=; b=aoDAwA9erHx94vSANZlKCbiPkjIT3swWknaRcP5Im0yOqfAXro911PP2Knp6MgefOxo8TZ /AIn+Uq5T1CXCxQ9QqImHWjN/3CdeubBtW8SaBrjixQfpZU0i44/EzDzbplP86Ke9mU8e0 Zk7eGNkeaZm/jr77psNrCAEertlswnLmh3BD4VS0vzW9Hb7jBPmvSPOfvsTjbxvBTD6mQN U2FiVO0hberODUF9l66Nf2GBTGtZVG++iK3rNyQLn84lYP3PqBnBuOln7Qa023h82tQypm 6HL2A79gu+GUy5DmPPJEa8P5V9Ur5HMZTa5C2ljXD2NPQpreyv63DXMtIAx0/A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695395266; a=rsa-sha256; cv=none; b=u/FoG8zAFD9mGwHuEogJhT/PFTFACdnPaJZOsYFB1iJF96COo4RGhptELcFwAwMpr3rlAv N70uxrhUR1p+giNHXSr+n6bMwYBt8Kl4EXbo9L2WWxBAEOHU/7x3ahEkwAombQtpbVE8NE kNKG0p7ifuFfa/1hmv8+c1KUpEFcFNylt8u70b2IiHiAm3jOKrxFTMQlWMqbbZ4VGeIJZz okZ8KSyWq6p7MHRuagn9+LRx+8A7t5BWuz9dnaf6mktpHXDRQEy329dmPnF9ih8pz3eZoW oHBexl4gIMoM9a26jO/1QmBk0bEBI61KSRIeebrpu4BObv0z+HPoRhSk3RApxg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695395266; 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=0f0faUgJV7NAA7GNoqLwCfQT4+fVRcHPuVKySnObqmg=; b=Ieo557vhFjW+Hzpaw+EgcBJHnQbYMwPVFNNZRZ/Wr8qdv1cYb1YOb82ilA6CknoEfROiDg oUDbxBQ97kz76Wdn9avzQwl+FujAtkZ+YaUG/SyaBAqVncXblfhKQMUUkK/u4fZ5DhNhSw bP/+B7uOPWQi+NwD1+rW/nnC2uUnC4qtrR8YFGrKxdMVdhTt5k2pjMZtkQUJSX/qFaNXr9 oPLLZ8FCpDcLNWynSnxDm39HKCyI7avP9UnlTN845guhs2BzmRsT01XQD75iASMUelUy4e Jp2SlkNzkDeMPs8c3kdFab6unhZQd/F5l3ezV/jo+ndctXyn8oYBenDDEKrGuA== 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 4RsbH61SlGz9pt; Fri, 22 Sep 2023 15:07:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 38MF7kL2064413; Fri, 22 Sep 2023 15:07:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38MF7kg8064410; Fri, 22 Sep 2023 15:07:46 GMT (envelope-from git) Date: Fri, 22 Sep 2023 15:07:46 GMT Message-Id: <202309221507.38MF7kg8064410@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 615b54d59b93 - stable/13 - at.man: Move examples to the EXAMPLES section List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 615b54d59b93d5bd67d82552b022388701ab5700 Auto-Submitted: auto-generated The branch stable/13 has been updated by 0mp: URL: https://cgit.FreeBSD.org/src/commit/?id=615b54d59b93d5bd67d82552b022388701ab5700 commit 615b54d59b93d5bd67d82552b022388701ab5700 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2023-09-18 19:17:52 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2023-09-22 15:07:28 +0000 at.man: Move examples to the EXAMPLES section MFC after: 3 days (cherry picked from commit cd056e3cd4e421fd50245bb2aa6f989b23e861bc) --- usr.bin/at/at.man | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/usr.bin/at/at.man b/usr.bin/at/at.man index 328be8f346b9..a1002da6545f 100644 --- a/usr.bin/at/at.man +++ b/usr.bin/at/at.man @@ -1,4 +1,4 @@ -.Dd August 11, 2018 +.Dd September 18, 2023 .Dt "AT" 1 .Os .Sh NAME @@ -124,13 +124,6 @@ may be told to run the job today by suffixing the time with and to run the job tomorrow by suffixing the time with .Cm tomorrow . .Pp -For example, to run a job at 4pm three days from now, use -.Ql at 4pm + 3 days , -to run a job at 10:00am on July 31, use -.Ql at 10am Jul 31 -and to run a job at 1am tomorrow, use -.Ql at 1am tomorrow . -.Pp The .Nm at utility also supports the @@ -328,6 +321,22 @@ deny permission control .It Pa _ATJOB_DIR/_LOCKFILE job-creation lock file .El +.Sh EXAMPLES +To run a job at 4pm three days from now, use: +.Bd -literal -offset indent +at 4pm + 3 days +.Ed +.Pp +To run a job at 10:00am on July 31, use: +.Bd -literal -offset indent +at 10am Jul 31 +.Ed +.Pp +To run a job at 1am tomorrow, use: +.Bd -literal -offset indent +at 1am tomorrow +.Ed +.Pp .Sh SEE ALSO .Xr nice 1 , .Xr sh 1 ,