aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2023-09-18 19:12:31 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2023-09-22 12:41:29 +0000
commitbffb55dc7577bea3462c7e563e7ce129ec81ad2d (patch)
tree679112cf6a3f88cbb5520eacffcb0c9441054fe4
parent7342a436750b6de8621ed51a4069509e16c461f8 (diff)
downloadsrc-bffb55dc7577bea3462c7e563e7ce129ec81ad2d.tar.gz
src-bffb55dc7577bea3462c7e563e7ce129ec81ad2d.zip
at.man: Fix mdoc(7) macro usage
MFC after: 3 days (cherry picked from commit d13b8b3e7255ad01b25ab512983af88d78fc1e53)
-rw-r--r--usr.bin/at/at.man41
1 files changed, 21 insertions, 20 deletions
diff --git a/usr.bin/at/at.man b/usr.bin/at/at.man
index 58d53e2e75d5..328be8f346b9 100644
--- a/usr.bin/at/at.man
+++ b/usr.bin/at/at.man
@@ -81,15 +81,15 @@ or
to run a job at a specific time of day.
(If that time is already past, the next day is assumed.)
As an alternative, the following keywords may be specified:
-.Em midnight ,
-.Em noon ,
+.Cm midnight ,
+.Cm noon ,
or
-.Em teatime
+.Cm teatime
(4pm)
and time-of-day may be suffixed with
-.Em AM
+.Cm AM
or
-.Em PM
+.Cm PM
for running in the morning or the evening.
The day on which the job is to be run may also be specified
by giving a date in the form
@@ -101,34 +101,35 @@ or giving a date of the forms
.Ar DD.MM.YY ,
.Ar MM/DD/YYYY ,
.Ar MM/DD/YY ,
-.Ar MMDDYYYY , or
+.Ar MMDDYYYY ,
+or
.Ar MMDDYY .
The specification of a date must follow the specification of
the time of day.
Time can also be specified as:
-.Op Em now
-.Em + Ar count \%time-units ,
+.Op Cm now
+.Cm \&+ Ar count \%time-units ,
where the time-units can be
-.Em minutes ,
-.Em hours ,
-.Em days ,
-.Em weeks ,
-.Em months
+.Cm minutes ,
+.Cm hours ,
+.Cm days ,
+.Cm weeks ,
+.Cm months
or
-.Em years
+.Cm years
and
.Nm
may be told to run the job today by suffixing the time with
-.Em today
+.Cm today
and to run the job tomorrow by suffixing the time with
-.Em tomorrow .
+.Cm tomorrow .
.Pp
For example, to run a job at 4pm three days from now, use
-.Nm at Ar 4pm + 3 days ,
+.Ql at 4pm + 3 days ,
to run a job at 10:00am on July 31, use
-.Nm at Ar 10am Jul 31
+.Ql at 10am Jul 31
and to run a job at 1am tomorrow, use
-.Nm at Ar 1am tomorrow .
+.Ql at 1am tomorrow .
.Pp
The
.Nm at
@@ -151,7 +152,7 @@ The working directory, the environment (except for the variables
.Ev TERMCAP ,
.Ev DISPLAY
and
-.Em _ )
+.Ev _ )
and the
.Ar umask
are retained from the time of invocation.