Hi.

date(1) command parses "next $day_of_week_today" (where
$day_of_week_today is today's day name) incorrectly:

$ date
Tue Dec  9 17:16:50 GMT 2008
$ date -d "next `date +%A`"
Tue Dec  9 00:00:00 GMT 2008

It should print the next Tuesday's date, i.e. today + 7 days.

Cheers,
Jan.


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to