Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/usr.bin/at Pull up revision 1.13 (requested by kleink):



details:   https://anonhg.NetBSD.org/src/rev/a957865705c6
branches:  netbsd-1-5
changeset: 490609:a957865705c6
user:      he <he%NetBSD.org@localhost>
date:      Sat Feb 03 21:01:17 2001 +0000

description:
Pull up revision 1.13 (requested by kleink):
  Support the 1003.2-92 -t option.  Fixes PR#11205.
  For symmetry, extend -t to batch(1) as well.

diffstat:

 usr.bin/at/at.1 |  51 ++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 50 insertions(+), 1 deletions(-)

diffs (86 lines):

diff -r 12e54ce0b5b2 -r a957865705c6 usr.bin/at/at.1
--- a/usr.bin/at/at.1   Sat Feb 03 20:57:41 2001 +0000
+++ b/usr.bin/at/at.1   Sat Feb 03 21:01:17 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: at.1,v 1.11 1999/05/22 05:05:11 jwise Exp $
+.\" $NetBSD: at.1,v 1.11.8.1 2001/02/03 21:01:17 he Exp $
 .\" $OpenBSD: at.1,v 1.6 1998/06/05 00:47:46 deraadt Exp $
 .\" $FreeBSD: at.man,v 1.6 1997/02/22 19:54:05 peter Exp $
 .Dd April 12, 1995
@@ -13,6 +13,12 @@
 .Op Fl q Ar queue
 .Op Fl f Ar file
 .Op Fl mldrbv
+.Fl t Ar [[CC]YY]MMDDhhmm[.SS]
+.Nm at
+.Op Fl V
+.Op Fl q Ar queue
+.Op Fl f Ar file
+.Op Fl mldrbv
 .Ar time
 .Nm at
 .Op Fl V
@@ -30,6 +36,12 @@
 .Op Fl q Ar queue
 .Op Fl f Ar file
 .Op Fl mv
+.Op Fl t Ar [[CC]YY]MMDDhhmm[.SS]
+.Nm batch
+.Op Fl V
+.Op Fl q Ar queue
+.Op Fl f Ar file
+.Op Fl mv
 .Op Ar time
 .Sh DESCRIPTION
 .Nm At
@@ -108,6 +120,11 @@
 and to run a job at 1am tomorrow, you would do
 .Nm at 1am tomorrow.
 .Pp
+Alternatively the time may be specified in a language-neutral fashion
+by using the
+.Fl t
+options.
+.Pp
 For both
 .Nm at
 and
@@ -171,6 +188,38 @@
 .Bl -tag -width indent
 .It Fl V
 Prints the version number to standard error.
+.It Fl t
+For both
+.Nm at
+and
+.Nm batch ,
+the time may be specified in a language-neutral format consisting of:
+.Bl -tag -width Ds -compact -offset indent
+.It Ar CC
+The first two digits of the year (the century).
+.It Ar YY
+The second two digits of the year.  If
+.Ar YY
+is specified, but
+.Ar CC
+is not, a value for
+.Ar YY
+between 69 and 99 results in a
+.Ar CC
+value of 19.  Otherwise, a
+.Ar CC
+value of 20 is used.
+.It Ar MM
+The month of the year, from 01 to 12.
+.It Ar DD
+The day of the month, from 01 to 31.
+.It Ar hh
+The hour of the day, from 00 to 23.
+.It Ar mm
+The minute of the hour, from 00 to 59.
+.It Ar SS
+The second of the minute, from 00 to 61.
+.El
 .It Fl q Ar queue
 Uses the specified queue.
 A queue designation consists of a single letter.  Valid queue designations



Home | Main Index | Thread Index | Old Index