-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Rick Richardson on 5/31/2006 9:55 PM:
> $ date +%u%w
> 33
> 
> Shouldn't this be 43???

No.  According to date --help, %u maps 1-7 starting at Monday, and %w maps
0-6 starting at Sunday.  So one time in seven %u%w will be 70, all other
days the two are equal.

- --
Life is short - so eat dessert first!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEft9B84KuGfSFAYARAkF5AJ0Sj3LRgjffYeeKN6XElJmpOiy+5QCgy7Wt
QfYtOCa8Nl4G2B3kEKKFXoI=
=8Y0B
-----END PGP SIGNATURE-----


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

Reply via email to