The cal man page says it highlights unless -h is specified, but it turns
out that only applies to ncal, not cal, since -h isn't in the Synopsis
lines for plain cal, and cal -h is an error.

Highlighting was apparently turned off deliberately: see upstream
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=904839
with this diff:
https://salsa.debian.org/meskes/bsdmainutils/-/blob/master/debian/patches/cal_highlight.diff
but if I apt source ncal on Ubuntu 20.10, the source doesn't have 
debian/patches/cal_highlight.diff and if I build it with dpkg-buildpackage, it 
doesn't have the behavior: it highlights even if I make a symlink to it and 
call it as "cal". I guess the source I get via apt source isn't in sync with 
the source that's used to build the binaries I get with apt install?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1914555

Title:
  cal should report today

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bsdmainutils/+bug/1914555/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to