summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authoruwe <uwe@NetBSD.org>2023-05-31 17:52:02 +0000
committeruwe <uwe@NetBSD.org>2023-05-31 17:52:02 +0000
commit2800a27e2aa4ad84b18d8ee3351fd9852c217c62 (patch)
treeecc2340917cdd5a6251cbf95277825e7391c2884 /bin
parent2f25acbd02098da437eb9567f85505ca97742459 (diff)
date(1): minor markup fixes
Diffstat (limited to 'bin')
-rw-r--r--bin/date/date.121
1 files changed, 12 insertions, 9 deletions
diff --git a/bin/date/date.1 b/bin/date/date.1
index ceb28732a39..67bc762e4b4 100644
--- a/bin/date/date.1
+++ b/bin/date/date.1
@@ -1,4 +1,4 @@
-.\" $NetBSD: date.1,v 1.52 2023/05/31 16:01:53 kim Exp $
+.\" $NetBSD: date.1,v 1.53 2023/05/31 17:52:02 uwe Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -56,7 +56,7 @@
.Nm
.Op Fl ajnRu
.Fl f Ar input_format
-new_date
+.Ar new_date
.Op Cm + Ns Ar format
.Sh DESCRIPTION
.Nm
@@ -66,7 +66,7 @@ way or set the date.
Only the superuser may set the date.
.Pp
The options are as follows:
-.Bl -tag -width 12n
+.Bl -tag -width Fl
.It Fl a
Use
.Xr adjtime 2
@@ -89,7 +89,7 @@ as the format string to parse the
provided rather than using the default
.Sm off
.Oo Oo Oo Oo Oo
-.Ar cc Oc
+.Ar CC Oc
.Ar yy Oc
.Ar mm Oc
.Ar dd Oc
@@ -135,7 +135,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
+A
+.Aq newline
+character is always output after the characters
specified by the format string.
The format string for the default display is:
.Pp
@@ -181,7 +183,7 @@ and years are handled automatically.
.Sh ENVIRONMENT
The following environment variables affect the execution of
.Nm :
-.Bl -tag -width iTZ
+.Bl -tag -width Ev
.It Ev TZ
The timezone to use when displaying dates.
See
@@ -189,13 +191,14 @@ See
for more information.
.El
.Sh FILES
-.Bl -tag -width /usr/share/zoneinfo/posixrules -compact
+.Bl -tag -width Pa -compact
.It Pa /etc/localtime
Symlink pointing to system's default timezone information file in
.Pa /usr/share/zoneinfo
directory.
-.It Pa /usr/lib/locale/<L>/LC_TIME
-Description of time locale <L>.
+.It Pa /usr/lib/locale/ Ns Ao Ar L Ac Ns Pa /LC_TIME
+Description of time locale
+.Aq Ar L .
.It Pa /usr/share/zoneinfo
Time zone information directory.
.It Pa /usr/share/zoneinfo/posixrules