Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 5
    The answer that you appear to be quoting was based on OpenSUSE, and the comment below it notes that there are several different implementations of cal. In particular, Debian based systems include ncal which may be what you have - in which case ncal -b or ncal -C should give you traditional cal layout plus highlighting. Commented Aug 11, 2021 at 22:00
  • 3
    It's one of several known bugs. On Debian cal==ncal Commented Aug 11, 2021 at 22:19
  • 1
    @ThomasDickey in this case though, it's as per design, not a bug. Commented Aug 12, 2021 at 6:35
  • 2
    not really: the manpage isn't "updated" to match the regression. Commented Aug 12, 2021 at 7:42
  • @ThomasDickey, while I agree the manual could be improved, there's nothing in there that says that the current day is highlighted in the output of cal. The synopsis for cal clearly shows that -h is not one of the valid options. Commented Aug 12, 2021 at 8:58