From nobody Fri Sep 22 12:44:14 2023 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 4RsX5V34s8z4tpyr; Fri, 22 Sep 2023 12:44:14 +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 4RsX5V2Sh8z3KLn; Fri, 22 Sep 2023 12:44:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695386654; 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=VoejQCnmwjKEk9ROEQzWaYFcTsmconIj7oqbQd3jfKk=; b=qwBAuRC6bz/SQx1kZTYBPptKJhWDYtkphJDwlYm6v2TYfbFehHkKQJ4DJXoY/vvkz1J9rc Jf5unrgQK+TCqk7DW2UBs0QR3rWbI2ydK5PfhwDuDhUdkq4XQfMtvQPdaYhDIjrT9N0u4r utQDtk1ouJ1GI6JE99rCcKYfTsD1KB5YVSaAKrZzFfzKerZ8Dx90GH8XhYZqe3CI/skph5 clYAGsNLu+yr5D+i6JwomLC9VvP0pLpEyaiSi6MsMz9vc9sRpJEdX44CxGr+UkMEVGWX0h z3EyFI+Z1EY72n3QJ90HuRuTRbpmitBGYX8XfSDW1M6tMkPU8zq8IgYbjk7k4w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695386654; a=rsa-sha256; cv=none; b=RMGtCNLs5onONnx7VgtDC477QQ2ng1lqcJ6T8xaRQ3udf5j0y2I9AV0oo3ppnOKqYveeCZ dIGP7j6pQPM+sZdTeqsdOvDdCTqz+e6geq02ins/xvMEwlv5uavcuUDWV5UN01wm//wjRI sDw4XacEluyz7XVvM+PinzI0FL6kq8fof9ilJcnrhMxkOIK6lTJmL6uU3X0fYFTlV6B6EJ 3cgDdCoj/WWq/riaXBdwBxgSu1bMuTIl+T/qEzB8voPutkISLIig8ltjByAKKnOKnwOOTS NSmPKy22pMLn2Sy4nT4Nqh4lLV5G4RrgJ/x4FzoX5V3AMHudVS+uOrFDKkuKSA== 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=1695386654; 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=VoejQCnmwjKEk9ROEQzWaYFcTsmconIj7oqbQd3jfKk=; b=qZOSXFWXWRqDsQhy9oXxA0PidRItSPjKpjNoiCkRwjS845+ZGvtsSDhtnkk77Jxnz9p+fG DWRBRAmFeGNcr5IJZvme+kwBLkq6yB3ScEeZqr8wGda3ll+ZzWIN1oVhRcjV3UgRDEB9gC c6LnLediZalTXDPtkIIcvreHFCjxX6p4pYpmin6vKKlAtfE1XruIXSZSena3WRV1TMSVcA 5NFpUHzDldPO/FsEpOM7Hwy4VuXg5G1XfRJU0iVq0YAPSG/xKU+tO69s7lRohibh2jmFBV rZD6kYE52lEeFHeVlvR1qFEoF416MDi9cv1eQN4Ggkq70I9IWeQ4RiyTCNAk7w== 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 4RsX5V1YMtz74m; Fri, 22 Sep 2023 12:44:14 +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 38MCiE5s030946; Fri, 22 Sep 2023 12:44:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38MCiER2030943; Fri, 22 Sep 2023 12:44:14 GMT (envelope-from git) Date: Fri, 22 Sep 2023 12:44:14 GMT Message-Id: <202309221244.38MCiER2030943@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: bd7273bc7ff5 - stable/14 - at.man: Move examples to the 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: 0mp X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: bd7273bc7ff54704031f59ad4e3de40e60e6eb72 Auto-Submitted: auto-generated The branch stable/14 has been updated by 0mp: URL: https://cgit.FreeBSD.org/src/commit/?id=bd7273bc7ff54704031f59ad4e3de40e60e6eb72 commit bd7273bc7ff54704031f59ad4e3de40e60e6eb72 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2023-09-18 19:17:52 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2023-09-22 12:41:29 +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 ,