git: bd7273bc7ff5 - stable/14 - at.man: Move examples to the EXAMPLES section

From: Mateusz Piotrowski <0mp_at_FreeBSD.org>
Date: Fri, 22 Sep 2023 12:44:14 UTC
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 ,