Didn't see it in the man page, but date +"%u" appears to print the day
of the week starting from Monday.  For example.

ahopkins@ahopkins:~$ date
Fri Nov  9 00:00:04 CST 2001
ahopkins@ahopkins:~$ date +"%u"
5


FYI.

--a


_______________________________________________
Bug-sh-utils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-sh-utils

Reply via email to