aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2023-09-18 19:17:52 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2023-09-22 12:41:29 +0000
commitbd7273bc7ff54704031f59ad4e3de40e60e6eb72 (patch)
tree8daaa0b9a965d1ac47ec8ec0e6e83d0449a86b9b
parentbffb55dc7577bea3462c7e563e7ce129ec81ad2d (diff)
downloadsrc-bd7273bc7ff54704031f59ad4e3de40e60e6eb72.tar.gz
src-bd7273bc7ff54704031f59ad4e3de40e60e6eb72.zip
at.man: Move examples to the EXAMPLES section
MFC after: 3 days (cherry picked from commit cd056e3cd4e421fd50245bb2aa6f989b23e861bc)
-rw-r--r--usr.bin/at/at.man25
1 files 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 ,