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): sync two [[[[[CC]yy]mm]dd]HH]MM[.SS] insta...



details:   https://anonhg.NetBSD.org/src/rev/aa5fd928ccb0
branches:  trunk
changeset: 376085:aa5fd928ccb0
user:      uwe <uwe%NetBSD.org@localhost>
date:      Wed May 31 18:04:00 2023 +0000

description:
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.

diffstat:

 bin/date/date.1 |  16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

diffs (41 lines):

diff -r 0ed0379abc06 -r aa5fd928ccb0 bin/date/date.1
--- a/bin/date/date.1   Wed May 31 17:56:54 2023 +0000
+++ b/bin/date/date.1   Wed May 31 18:04:00 2023 +0000
@@ -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



Home | Main Index | Thread Index | Old Index