From d4cb36bcfe63746cb83dfe46c64e488907efc0cc Mon Sep 17 00:00:00 2001 From: ru Date: Fri, 15 Dec 2000 17:37:31 +0000 Subject: Prepare for mdoc(7)NG. --- bin/date/date.1 | 46 ++++++++++++++++++++++++++++++---------------- 1 file changed, 30 insertions(+), 16 deletions(-) (limited to 'bin/date') diff --git a/bin/date/date.1 b/bin/date/date.1 index 5904a3bc..029fc18 100644 --- a/bin/date/date.1 +++ b/bin/date/date.1 @@ -49,15 +49,25 @@ .Op Fl t Ar minutes_west .Oo .Fl v -.Op +|- Ns -.No val Ns Op ymwdHMS -.Oc Ns ... -.Oo Fl f No " " -.Ar fmt date No | -.Oo Oo Oo Oo Oo "\&cc" Ns -.Oc "\&yy" Oc "\&mm" Oc "\&dd" Oc "\&HH" Ns +.Sm off +.Op Cm + | - Xo +.Ar val Op Ar ymwdHMS +.Xc +.Sm on .Oc -.No "\&MM" Ns Op "\&.ss" +.Ar ... +.Oo +.Fl f +.Ar fmt date | +.Sm off +.Oo Oo Oo Oo Oo +.Ar cc Oc +.Ar yy Oc +.Ar mm Oc +.Ar dd Oc +.Ar HH Oc +.Ar MM Op Ar .ss +.Sm on .Oc .Op Cm + Ns Ar format .Sh DESCRIPTION @@ -84,14 +94,18 @@ will return a non-zero for .It Fl f Use .Ar fmt -as the format string to parse the date provided rather than using -the default -.\" .Ar [[[[[cc]yy]mm]dd]HH]MM[.ss] -.Xo -.Oo Oo Oo Oo Oo "\&cc" Ns -.Oc "\&yy" Oc "\&mm" Oc "\&dd" Oc "\&HH" Ns -.Oc -.No "\&MM" Ns Op "\&.ss" Xc +as the format string to parse the +.Ar date +provided rather than using the default +.Sm off +.Oo Oo Oo Oo Oo +.Ar cc Oc +.Ar yy Oc +.Ar mm Oc +.Ar dd Oc +.Ar HH +.Oc Ar MM Op Ar .ss +.Sm on format. Parsing is done using .Xr strptime 3 . -- cgit v1.1