Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Sep 2023 15:07:46 GMT
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 615b54d59b93 - stable/13 - at.man: Move examples to the EXAMPLES section
Message-ID:  <202309221507.38MF7kg8064410@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 ,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309221507.38MF7kg8064410>