I have found a problem with date. This year is 2000, so one would assume the next year to be 2001, not 2002. And certainly last year was 1999, not 2002. $ date Wed Dec 27 15:32:38 CET 2000 $ date --date "5 feb" Sat Feb 5 00:00:00 CET 2000 $ date --date "5 feb this year" Mon Feb 5 00:00:00 CET 2001 $ date --date "5 feb next year" Tue Feb 5 00:00:00 CET 2002 $ date --date "5 feb last year" Tue Feb 5 00:00:00 CET 2002 $ date --version date (GNU sh-utils) 2.0 Written by David MacKenzie. For the case it makes any difference, this is on a RedHat Linux 6.2 Also, a wish: A way to specify the next time a date matches, like "forthcoming 5 feb" which should evaluate to 5 Feb, 2001. And its counterpart, previous, "previous Feb 5" -> 5 Feb 2000, and "Previous 31 Dec" -> 31 Dec 1999. And why not a nearest as well "nearest feb" -> Feb 2001, "nearest oct" -> oct 2000. -- Heikki Levanto [EMAIL PROTECTED] "In Murphy We Turst" _______________________________________________ Bug-sh-utils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-sh-utils
