Eric Blake <[EMAIL PROTECTED]> wrote: > [off-list, since the bulk of the patch is email addresses ;)] > > According to Philip Rowlands on 6/5/2008 7:15 AM: > |> Either the command needs to be changed or the man page needs to be > |> changed to express what the command actually does. Any assistance > |> would be appreciated. > | > | I agree that until 2100, it would be better if the manpage gave "20" as > | the example, or no example at all, but the wording is strictly correct. > > Jim, how about the following?
That's a definite improvement. Pushed. Thanks! > Subject: [PATCH] improve 'date +%C' documentation > > * src/date.c (usage): Use 20, not 21, for current century. > * THANKS: Update. > Reported by Dameon G. Rogers, fix suggested by Philip Rowlands. > --- > THANKS | 2 ++ > src/date.c | 2 +- > 2 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/THANKS b/THANKS > index feaf463..cb9b098 100644 > --- a/THANKS > +++ b/THANKS > @@ -110,6 +110,7 @@ Cray-Cyber Project > http://www.cray-cyber.org > Cristian Cadar [EMAIL PROTECTED] > Cyril Bouthors [EMAIL PROTECTED] > Dale Scheetz [EMAIL PROTECTED] > +Dameon G. Rogers [EMAIL PROTECTED] > Dan Hagerty [EMAIL PROTECTED] > Dan Jacobson http://www.geocities.com/jidani > Dan Pascu [EMAIL PROTECTED] > @@ -434,6 +435,7 @@ Peter Seebach [EMAIL PROTECTED] > Petter Reinholdtsen [EMAIL PROTECTED] > Phelippe Neveu [EMAIL PROTECTED] > Phil Richards [EMAIL PROTECTED] > +Philip Rowlands [EMAIL PROTECTED] > Philippe De Muyter [EMAIL PROTECTED] > Philippe Schnoebelen [EMAIL PROTECTED] > Phillip Jones [EMAIL PROTECTED] > diff --git a/src/date.c b/src/date.c > index 86b3225..aa4d69d 100644 > --- a/src/date.c > +++ b/src/date.c > @@ -166,7 +166,7 @@ specifies Coordinated Universal Time. Interpreted > sequences are:\n\ > %c locale's date and time (e.g., Thu Mar 3 23:05:25 2005)\n\ > "), stdout); > fputs (_("\ > - %C century; like %Y, except omit last two digits (e.g., 21)\n\ > + %C century; like %Y, except omit last two digits (e.g., 20)\n\ > %d day of month (e.g, 01)\n\ > %D date; same as %m/%d/%y\n\ > %e day of month, space padded; same as %_d\n\ _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils