on 7 juanary 2004 when i ask date to print the week number of the year 7 days ago, normaly the last day of the previous year, 'date' answers 01 so date -d "7 days ago" '+%V' and date -d "7 days ago" '+%V' give the same answer!!!
example: [EMAIL PROTECTED] sebest $ date Wed Jan 7 17:04:02 CET 2004 [EMAIL PROTECTED] sebest $ date -d "7 days ago" '+%Y-%V' 2003-01 [EMAIL PROTECTED] sebest $ date -d "7 days ago" '+%Y-%U' 2003-52 [EMAIL PROTECTED] sebest $ date -d "6 days ago" '+%Y-%V' 2004-01 [EMAIL PROTECTED] sebest $ _______________________________________________ Bug-sh-utils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-sh-utils
