On Fri, Apr 01, 2011 at 08:59:14PM +0200, Sebastien Desreux wrote: > By default, 'cal' shows weeks starting on sundays. > In my country, the convention is to make them start on mondays. > 'cal' provides the -M option for this. > This option worked in Lenny. > This option is documented in the man page of 'cal' in Squeeze. > But in Squeeze, calling 'cal -M' produces the following error message:
You misread the manpage, it says: "The cal utility displays a simple calendar in traditional format and ncal offers an alternative layout, more options and the date of Easter." ^^^^^^^^^^^ > ~>cal -M > Usage: cal [general options] [-hjy] [[month] year] > cal [general options] [-hj] [-m month] [year] > ncal [general options] [-bhJjpwySM] [-s country_code] [[month] year] ^^^^ As you can see, the help says that the -M option is only available in 'ncal'. > This bug is not as benign as one might think because I'm pretty sure it will > make me miss an appointment by 24h sooner or later... You can easily get what you need by either using: 'ncal -M' or (if you prefer cal's layout instead of the new one): 'ncal -MC' I'm not convinced this is a bug in cal, as the 'cal' invocation is supposed to have the same behaviour as in the original 'cal' program. Regards Javier
signature.asc
Description: Digital signature