summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-02-19 22:44:17 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-02-19 22:44:17 +0000
commit2e437382cb62d4765ed74587de3175c83a38bca0 (patch)
tree17ef4b9747274b6412fe7a67af1c5b0f0f618912
parent868d7d0fd7f8a8bdd4802714a88e24b54b21c72b (diff)
Miscellaneous cleanup.
-rw-r--r--bin/date/date.143
-rw-r--r--bin/df/df.14
2 files changed, 23 insertions, 24 deletions
diff --git a/bin/date/date.1 b/bin/date/date.1
index 065128c9e40..2bfbe1ba303 100644
--- a/bin/date/date.1
+++ b/bin/date/date.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: date.1,v 1.21 1999/08/17 14:14:04 aaron Exp $
+.\" $OpenBSD: date.1,v 1.22 2000/02/19 22:44:15 aaron Exp $
.\" $NetBSD: date.1,v 1.12 1996/03/12 04:32:37 phil Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -64,44 +64,39 @@ Only the super-user may set the date.
The options are as follows:
.Bl -tag -width Ds
.It Fl d Ar dst
-Set the kernel's value for daylight saving time.
+Set the system's value for Daylight Saving Time.
If
.Ar dst
is non-zero, future calls
to
.Xr gettimeofday 2
-will return a non-zero
-.Ql tz_dsttime .
+will return a non-zero value for
+.Fa tz_dsttime .
.It Fl n
-The utility
+By default,
+if the
.Xr timed 8
-is used to synchronize the clocks on groups of machines.
-By default, if
-.Xr timed 8
-is running,
+daemon is running,
.Nm
-will set the time on all of the machines in the local group.
+sets the time on all of the machines in the local group.
The
.Fl n
-option stops
-.Nm
-from setting the time for other than the current machine.
+option suppresses this behavior and causes the time to be set only on the
+current machine.
.It Fl r Ar seconds
Print out (in specified format) the date and time represented by
.Ar seconds
from the Epoch.
.It Fl t Ar minutes_west
-Set the kernel's value for minutes west of
+Set the system's value for minutes west of
.Tn GMT .
.Ar minutes_west
specifies the number of minutes returned in
-.Ql tz_minuteswest
+.Fa tz_minuteswest
by future calls to
.Xr gettimeofday 2 .
.It Fl u
-Display or set the date in
-.Tn UTC
-(universal) time.
+Display or set the date in UTC (Coordinated Universal) time.
.El
.Pp
An operand with a leading plus sign
@@ -112,7 +107,9 @@ The format string may contain any of the conversion specifications described
in the
.Xr strftime 3
manual page, as well as any arbitrary text.
-A <newline> character is always output after the characters specified by
+A newline
+.Pq Ql \en
+character is always output after the characters specified by
the format string.
The format string for the default display is:
.Bd -literal -offset indent
@@ -125,7 +122,7 @@ 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 (for years falling within 1969\(em2068).
+Year in abbreviated form (for years 1969-2068).
The format
.Ar ccyymmddHHMM
is also permitted, for non-ambiguous years.
@@ -137,13 +134,13 @@ Day, a number from 1 to 31.
Hour, a number from 0 to 23.
.It Ar MM
Minute, a number from 0 to 59.
-.It Ar .SS
+.It Ar SS
Second, a number from 0 to 61 (59 plus a maximum of two leap seconds).
.El
.Pp
Everything but the minute is optional.
.Pp
-Time changes for daylight saving time, standard time, leap seconds,
+Time changes for Daylight Saving Time, standard time, leap seconds,
and leap years are handled automatically.
.Sh EXAMPLES
The command:
@@ -176,7 +173,7 @@ without modifying the date.
.Sh ENVIRONMENT
The following environment variables affect the execution of
.Nm date :
-.Bl -tag -width TZ
+.Bl -tag -width Ds
.It Ev TZ
The timezone to use when displaying dates.
See
diff --git a/bin/df/df.1 b/bin/df/df.1
index 0d00f3409cd..328e9c91722 100644
--- a/bin/df/df.1
+++ b/bin/df/df.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: df.1,v 1.19 1999/09/02 15:37:26 aaron Exp $
+.\" $OpenBSD: df.1,v 1.20 2000/02/19 22:44:16 aaron Exp $
.\" $NetBSD: df.1,v 1.12 1995/12/05 02:42:45 jtc Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993
@@ -112,6 +112,8 @@ the specified type, a warning is issued and no information is given on
that file system.
.El
.Sh ENVIRONMENT
+The following environment variables affect the execution of
+.Nm df :
.Bl -tag -width BLOCKSIZE
.It Ev BLOCKSIZE
If the environment variable