summaryrefslogtreecommitdiff
path: root/bin/date/date.1
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1998-09-14 22:14:01 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1998-09-14 22:14:01 +0000
commitd7b87853ad02031845dedc2e4eb43470f70629b2 (patch)
tree6711d6705a3d61a8fc1398a0e93943d2c24e793f /bin/date/date.1
parent0e57f2a299667350f0094976659b7e7f6dee3478 (diff)
First complete sweep of man pages, bin/. Command/function names previously
(incorrectly) capatilized are fixed. Comma splices, hyphenations, SYNOPSIS cleanups, other miscellaneous typos.
Diffstat (limited to 'bin/date/date.1')
-rw-r--r--bin/date/date.127
1 files changed, 13 insertions, 14 deletions
diff --git a/bin/date/date.1 b/bin/date/date.1
index d7ca4034284..e0b087e9ea2 100644
--- a/bin/date/date.1
+++ b/bin/date/date.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: date.1,v 1.12 1998/09/01 03:39:35 pjanzen Exp $
+.\" $OpenBSD: date.1,v 1.13 1998/09/14 22:13:42 aaron Exp $
.\" $NetBSD: date.1,v 1.12 1996/03/12 04:32:37 phil Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -52,7 +52,7 @@
.Op Cm + Ns Ar format
.Op [[[[[cc]yy]mm]dd]HH]MM[\&.SS]
.Sh DESCRIPTION
-.Nm Date
+.Nm date
displays the current date and time when invoked without arguments.
Providing arguments will format the date and time in a user-defined
way or set the date.
@@ -68,7 +68,7 @@ is non-zero, future calls
to
.Xr gettimeofday 2
will return a non-zero
-.Ql tz_dsttime .
+.Ql tz_dsttime .
.It Fl n
The utility
.Xr timed 8
@@ -90,7 +90,7 @@ from the Epoch.
.It Fl t
Set the kernel's value for minutes west of
.Tn GMT .
-.Ar Minutes_west
+.Ar minutes_west
specifies the number of minutes returned in
.Ql tz_minuteswest
by future calls to
@@ -120,27 +120,26 @@ The canonical representation for setting the date and time is:
.Pp
.Bl -tag -width Ds -compact -offset indent
.It Ar yy
-Year in abbreviated form (.e.g 89 for 1989, 06 for 2006).
+Year in abbreviated form (e.g. 89 for 1989, 06 for 2006).
The format
.Ar ccyymmddHHMM
is also permitted, for non-ambiguous years beyond 1999.
.It Ar mm
-Numeric month.
-A number from 1 to 12.
+Numeric month, a number from 1 to 12.
.It Ar dd
Day, a number from 1 to 31.
.It Ar HH
Hour, a number from 0 to 23.
.It Ar MM
-Minutes, a number from 0 to 59.
+Minute, a number from 0 to 59.
.It Ar .SS
-Seconds, a number from 0 to 61 (59 plus a maximum of two leap seconds).
+Second, a number from 0 to 61 (59 plus a maximum of two leap seconds).
.El
.Pp
-Everything but the minutes is optional.
+Everything but the minute is optional.
.Pp
-Time changes for Daylight Saving and Standard time and leap seconds
-and years are handled automatically.
+Time changes for daylight savings, standard time, leap seconds,
+and leap years are handled automatically.
.Sh EXAMPLES
The command:
.Bd -literal -offset indent
@@ -182,9 +181,9 @@ for more information.
.Sh FILES
.Bl -tag -width /var/log/messages -compact
.It Pa /var/log/wtmp
-A record of date resets and time changes.
+record of date resets and time changes
.It Pa /var/log/messages
-A record of the user setting the time.
+record of the user setting the time
.El
.Sh SEE ALSO
.Xr gettimeofday 2 ,