Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/date date(1): minor markup fixes
details: https://anonhg.NetBSD.org/src/rev/acee2a617f0c
branches: trunk
changeset: 376083:acee2a617f0c
user: uwe <uwe%NetBSD.org@localhost>
date: Wed May 31 17:52:02 2023 +0000
description:
date(1): minor markup fixes
diffstat:
bin/date/date.1 | 21 ++++++++++++---------
1 files changed, 12 insertions(+), 9 deletions(-)
diffs (74 lines):
diff -r e1029a15ba76 -r acee2a617f0c bin/date/date.1
--- a/bin/date/date.1 Wed May 31 16:01:53 2023 +0000
+++ b/bin/date/date.1 Wed May 31 17:52:02 2023 +0000
@@ -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
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
Home |
Main Index |
Thread Index |
Old Index