NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/38176: calendar not matching days of week



>Number:         38176
>Category:       bin
>Synopsis:       calendar not matching days of week
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 05 16:35:00 +0000 2008
>Originator:     reed%reedmedia.net@localhost
>Release:        NetBSD 4.0_RC4
>Organization:
  Jeremy C. Reed
>Environment:
        
        
System: NetBSD tx.reedmedia.net 4.0_RC4 NetBSD 4.0_RC4 (GENERIC) #0: Thu Nov 8 
00:11:53 PST 2007 
builds@wb28:/home/builds/ab/netbsd-4-0-RC4/amd64/200711080452Z-obj/home/builds/ab/netbsd-4-0-RC4/src/sys/arch/amd64/compile/GENERIC
 amd64
Architecture: x86_64
Machine: amd64
>Description:
I marked as sw-bug but it might be a documentation bug.

Man page says "Lines should begin with a month and day." Then "A day 
without a month matches that day of every week." And then it has this 
example:

           Thursday        ... Every Thursday.

$ uname -r 
4.0_RC4
$ date +%A     
Tuesday
$ cat ~/calendar
Tuesday         Today is Tuesday
$ calendar
$

It does work if I put an asterisk before the day:

*Tuesday


I have used calendar for several years. I don't remember when the day of 
the week stopped working (even though my calendar has many).

Can someone please improve the documentation or fix this?

Also is calendar(1) something that should have same configuration 
format on all Unix syste

>How-To-Repeat:
        
>Fix:
        

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index