[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
another hbday bug
- To: http://profiles.yahoo.com/yahmja (Michael Abbott)
 
- Subject: another hbday bug
 
- From: http://dummy.us.eu.org/robert (Robert)
 
- Date: Tue, 12 Jul 2016 07:40:42 -0700
 
Not sure if this is worth fixing, but I found a strange bug in hbday.  If
I have the following in a file, say /tmp/hbdays :
H July 4	Independence Day
H July @4	Independence Day (off from work)
And I run "hbday -lnhb 365", only "Independence Day" is listed, not the
second one.  In fact, "H July @4" doesn't seem to work at all, even if the
-e option is used to specify the exact date (via days ahead).
Oddly, this:
H Jan @@1       New Year's Day (off from work)
seems to work perfectly.
It's possible that there is some kind of limit and that, if the date is
within a certain number of days, then even "H July @4" will work.
I attached my copy of hbday.c if you wanna take a look.  But, again, if
this isn't worth fixing, don't worry about it.
-- 
http://dummy.us.eu.org/robert
http://dummy.us.eu.org
my-Oakland-voicemail-number
surance of privacy