Randy

> I have just found a bug in the date command.

Thanks for the report.  Could you also report to the email list the
version of the date command you are using.  There have been many bugs
fixed in recent versions.  You might still be using an older version.

If you are using date version 2.0 or earlier which is shipped by many
vendors it is certainly possible you are having problems.  A large
number of bug fixes and improvements went into the sh-utils-2.0.11
around October 2000. Please install a newer version of the code.  The
test release versions at ftp://alpha.gnu.org/gnu/fetish are best.

Thanks
Bob

> on 3/29/02 at 10 PM CST  date -d 'last month' +%Y%m  returned 200203
> 
> Should be 200202
> 
> on 3/28/02 at 10 PM CST  date -d 'last month' +%Y%m  returned 200202
> 
> As it should.
> 
> Could this be due to Feb. having 28 days?

_______________________________________________
Bug-sh-utils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-sh-utils

Reply via email to