On Fri, May 03, 2024 at 05:38:46PM +0200, Chris Hofstaedtler wrote:
> > Unfortunately the command line switches
> > are not compatible and util-linux cal cannot display the date of Easter, so 
> > it
> > is not drop-in compatible. It would nevertheless be great if e.g. an
> > alternatives selection for util-linux cal could be provided.
> 
> I'm somewhat open to shipping util-linux's cal, but not if that
> involves update-alternatives.
> 
> Could you maybe work with upstream, so that util-linux's cal becomes
> a drop-in replacement, and can work as both cal and ncal?
>

I think that ship has sailed already, since e.g. -m in the ncal version
specifies the month (a bit superfluously), whereas in the util-linux version it
sets the beginning of the week to Monday.

> Also, quite obviously is this something we want to do as Debian?
> Michael, as the maintainer of the current ncal package, what is your
> opinion here?
> 

An alternative I could see would be to drop cal from the ncal package and only
provide cal from util-linux.

Nothing would be lost, since ncal can act as cal with the -C option, so users
wanting that specific cal could use a function

    cal() {
        ncal -C $@
    }

and the rest would get a cal that can show week numbers and set the beginning of
the Monday.

Attachment: signature.asc
Description: PGP signature

Reply via email to