Your message dated Thu, 19 Jan 2012 08:40:38 +0100
with message-id <[email protected]>
and subject line Re: Bug#656393: bsdmainutils: cal does not support same
options as ncal
has caused the Debian Bug report #656393,
regarding bsdmainutils: cal does not support same options as ncal
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
656393: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656393
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bsdmainutils
Version: 8.2.3
Severity: normal
The -M option works with ncal, but not cal, despite being the same binary.
nemo@falcon ~ % 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]
ncal [general options] [-bhJeoSM] [year]
General options: [-NC3] [-A months] [-B months]
For debug the highlighting: [-H yyyy-mm-dd] [-d yyyy-mm]
nemo@falcon ~ % ncal -M -C
January 2012
Mo Tu We Th Fr Sa Su
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
nemo@falcon ~ %
The '-C' option included to ncal to make it print in 'cal' type format. I
notice also that 'ncal -C -M' does not work - gives the same error as 'cal -M'
above.
-- System Information:
Debian Release: wheezy/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages bsdmainutils depends on:
ii bsdutils 1:2.19.1-5
ii debianutils 4.1
ii libc6 2.13-24
ii libncurses5 5.9-4
bsdmainutils recommends no packages.
Versions of packages bsdmainutils suggests:
pn cpp 4:4.6.1-3
pn vacation <none>
pn wamerican | wordlist <none>
pn whois <none>
-- no debconf information
--- End Message ---
--- Begin Message ---
This is not a bug but a feature. And documented it is, too, as you yourself
quote:
> nemo@falcon ~ % 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]
> ncal [general options] [-bhJeoSM] [year]
> General options: [-NC3] [-A months] [-B months]
> For debug the highlighting: [-H yyyy-mm-dd] [-d yyyy-mm]
> ...
> The '-C' option included to ncal to make it print in 'cal' type format. I
No, this is not true. '-C' makes ncal behave as cal, not just print. If you
want the cal format in ncal please use '-b'.
Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at googlemail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL
--- End Message ---