diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2000-12-15 17:37:31 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2000-12-15 17:37:31 +0000 |
| commit | 12e720d78bf94de3b7f64be5f7fd7bced7c19b75 (patch) | |
| tree | 4835618eef3d67608a289aa76509767bf890c972 /bin/date/date.1 | |
| parent | e0913a2c442fb7f44d978791c07fce9fdb3abb47 (diff) | |
Notes
Diffstat (limited to 'bin/date/date.1')
| -rw-r--r-- | bin/date/date.1 | 46 |
1 files changed, 30 insertions, 16 deletions
diff --git a/bin/date/date.1 b/bin/date/date.1 index 5904a3bc68872..029fc1899b63d 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 . |
