Karl Eichwalder <[EMAIL PROTECTED]> writes:
| there's a documentation problem:
|
| ke@tux:~ > LANG=C date --help | head -2
| Usage: date [OPTION]... [+FORMAT]
|   or:  date [OPTION] [MMDDhhmm[[CC]YY][.ss]]
|
| But `info date' says:
|
|      date [OPTION]... [+FORMAT]
|      date [-u|--utc|--universal] [ MMDDHHMM[[CC]YY][.SS] ]
|
| Please, use the string "[MMDDhhmm[[CC]YY][.ss]" always case sensitive;
| maybe, it's a Texinfo problem.

Hi Karl,

Yes, indeed it was.
I've fixed it.  Patch below.
Thanks for the report.

| I've the feeling, "DD" is faulty; maybe, "d" is meant.

I think `DD' is ok.  The rationale may be that date-related things
(month, day, year) are capitalized, while time-related `variables'
are lower case.

Index: sh-utils.texi
===================================================================
RCS file: /fetish/shellutils/doc/sh-utils.texi,v
retrieving revision 1.81
diff -u -p -r1.81 sh-utils.texi
--- sh-utils.texi       2000/06/09 22:59:04     1.81
+++ sh-utils.texi       2000/09/09 14:26:36
@@ -2202,7 +2202,7 @@ format of the @samp{%c} directive (descr
 @example
 date [@var{option}]@dots{} [+@var{format}]
 date [-u|--utc|--universal] @c this avoids a newline in the output
-[ @var{MMDDhhmm}[[@var{CC}]@var{YY}][.@var{ss}] ]
+[ MMDDhhmm[[CC]YY][.ss] ]
 @end example
 
 @findex strftime @r{and @code{date}}
@@ -2400,7 +2400,7 @@ zone.
 The argument must consist entirely of digits, which have the following
 meaning:
 
-@table @var
+@table @samp
 @item MM
 month
 @item DD

Reply via email to