diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-02-15 18:29:09 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-02-15 18:29:09 +0000 |
commit | 84a6774ae024035851a3e577b8bd536a57214cc1 (patch) | |
tree | eaab0685b41e3e61c8ec8e8b2927eef2259e8124 /usr.bin/at/at.1 | |
parent | 1926a2d5ae95c4a1451f37e083424271a3fc23c1 (diff) |
macro cleanup, mostly to use .Cm for fixed strings
to be passed as command line arguments;
from Jan Stary <hans at stare dot cz>, tweaked by me
Diffstat (limited to 'usr.bin/at/at.1')
-rw-r--r-- | usr.bin/at/at.1 | 41 |
1 files changed, 20 insertions, 21 deletions
diff --git a/usr.bin/at/at.1 b/usr.bin/at/at.1 index f289d5c40a7..f03fefbd7ed 100644 --- a/usr.bin/at/at.1 +++ b/usr.bin/at/at.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: at.1,v 1.49 2014/01/30 13:31:28 jmc Exp $ +.\" $OpenBSD: at.1,v 1.50 2014/02/15 18:29:08 schwarze Exp $ .\" .\" Copyright (C) 1993, 1994 Thomas Koenig .\" Copyright (C) 1993 David Parsons @@ -24,7 +24,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: January 30 2014 $ +.Dd $Mdocdate: February 15 2014 $ .Dt AT 1 .Os .Sh NAME @@ -130,7 +130,7 @@ queue. .It Fl t Ar time_arg Specify the job time. The argument should be of the form -[[cc]yy]mmddHHMM[.SS], +.Oo Oo Ar cc Oc Ns Ar yy Oc Ns Ar mmddHHMM Ns Op \&. Ns Ar SS , where the parts of the argument represent the following: .Pp .Bl -tag -width Ds -compact -offset indent @@ -171,15 +171,15 @@ or to run a job at a specific time of day. (If that time is already past, the next day is assumed.) You may also specify -.Sy midnight , -.Sy noon , +.Cm midnight , +.Cm noon , or -.Sy teatime +.Cm teatime (4pm) and you can have a time-of-day suffixed with -.Dq AM +.Cm AM or -.Dq PM +.Cm PM for running in the morning or the evening. You can also say what day the job will be run, by giving a date in the form @@ -204,27 +204,26 @@ a typo. The specification of a date must follow the specification of the time of day. You can also give times like -.Op Sq now -.Sy + Ar count \%time-units , +.Oo Cm now Oc Cm + Ar count time-units , where the time-units can be -.Sy minutes , -.Sy hours , -.Sy days , -.Sy weeks , -.Sy months , +.Cm minutes , +.Cm hours , +.Cm days , +.Cm weeks , +.Cm months , or -.Sy years +.Cm years (the singular forms are also accepted). You can tell .Nm at to run the job today by suffixing the time with -.Sy today +.Cm today and to run the job tomorrow by suffixing the time with -.Sy tomorrow . +.Cm tomorrow . The -.Sy next +.Cm next keyword may be used as an alias for -.Sy + 1 . +.Cm + 1 . .Pp For example, to run a job at 4pm three days from now, you would do .Ic at 4pm + 3 days . @@ -366,7 +365,7 @@ this implementation permits a .Ar timespec argument. The -.Sy teatime +.Cm teatime keyword is an extension to the specification. .Pp The at.allow/deny mechanism is marked by |