Re: date error?

[email protected] (Bob Proulx) Fri, 1 Nov 2002 18:58:16 -0700
Newsgroups gmane.comp.gnu.sh-utils.bugs
Message-ID <[email protected]>
> is it a bug or a feature?:
> 
> smeister@s390linux07:~ > date +%D
> 10/31/02
> smeister@s390linux07:~ > date +%m --date='last month'
> 10

You did not say which version of date you are using.

  date --version

If you are using date version 2.0 or earlier that is certainly
possible.  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.  If using a vendor version then your vendor probably has
updated this code.  If you are compiling your own then The test
release versions at ftp://alpha.gnu.org/gnu/fetish are best.

Bob