Module Name: src
Committed By: uwe
Date: Wed May 31 18:04:00 UTC 2023
Modified Files:
src/bin/date: date.1
Log Message:
date(1): sync two [[[[[CC]yy]mm]dd]HH]MM[.SS] instances
The markup was the same (modulo Li vs Cm for the dot before the
seconds), but use the same source markup grouping/layout in both to
make this fact more obvious.
To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/bin/date/date.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/date/date.1
diff -u src/bin/date/date.1:1.53 src/bin/date/date.1:1.54
--- src/bin/date/date.1:1.53 Wed May 31 17:52:02 2023
+++ src/bin/date/date.1 Wed May 31 18:04:00 2023
@@ -1,4 +1,4 @@
-.\" $NetBSD: date.1,v 1.53 2023/05/31 17:52:02 uwe Exp $
+.\" $NetBSD: date.1,v 1.54 2023/05/31 18:04:00 uwe Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -45,13 +45,16 @@
.Op Fl r Ar seconds
.Op Cm + Ns Ar format
.Sm off
-.Oo Oo Oo Oo Oo Oo
+.Oo
+.Oo Oo Oo Oo Oo
.Ar CC Oc
.Ar yy Oc
.Ar mm Oc
.Ar dd Oc
-.Ar HH Oc Ar MM Oo
-.Li \&. Ar SS Oc Oc
+.Ar HH Oc
+.Ar MM
+.Op Cm \&. Ar SS
+.Oc
.Sm on
.Nm
.Op Fl ajnRu
@@ -93,8 +96,9 @@ provided rather than using the default
.Ar yy Oc
.Ar mm Oc
.Ar dd Oc
-.Ar HH
-.Oc Ar MM Op Cm \&. Ar SS
+.Ar HH Oc
+.Ar MM
+.Op Cm \&. Ar SS
.Sm on
format.
Parsing is done using