*** This bug is a duplicate of bug 908233 ***
https://bugs.launchpad.net/bugs/908233
I will mark this ticket as a dupe to bug 908233.
ncal -S now works correctly in precise. If you want to argue for a
backported fix to lucid, please open a new ticket. If you let me know
about it, I can even
Here's a trivial example of the bug.
$ ncal -M
January 2012
Mo 2 9 16 23 30
Tu 3 10 17 24 31
We 4 11 18 25
Th 5 12 19 26
Fr 6 13 20 27
Sa 7 14 21 28
Su 1 8 15 22 29
$ ncal -S
January 2012
Su 2 9 16 23 30
Mo
The man page is shared for cal and ncal, and it says ncal has more
options, so it may be the case that the -M option is only for ncal.
Until this gets fixed, I came up with the following workaround:
$ ncal -M -C
November 2011
Mo Tu We Th Fr Sa Su
1 2 3 4 5 6
7 8 9 10 11 12
According to the man page, "The cal utility displays a simple calendar
in traditional format and ncal offers an alternative layout...", so the
switched axes are not a problem with ncal. But I do observe the problem
that the -M option does not cause the week to start with Monday with
cal.
$ cal -M
I use ubuntu 11.04 but the bug still here. :(
** Description changed:
Binary package hint: bsdmainutils
output of karmic version:
~>>> /media/karmic/usr/bin/cal -m
- July 2010
+ July 2010
Mo Tu We Th Fr Sa Su
- 1 2 3 4
- 5 6 7 8 9 10 11
+ 1
I think the title of this bug is misleading. cal's -m option has become
ncal's -M, that fine. But ncal's -S option compared to -M prints the
dates in the same place but shifts the days of the week labels; as mrq1
wrote "that CANT be correct".
To show the problem, just do "ncal -M; ncal -S"
** Changed in: bsdmainutils (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/604366
Title:
cal -m doesn't work anymore
--
ubuntu-bugs mailing list
ubuntu-bugs
does not work with maverick:
>>> unalias cal
>>> cal -M
usage: cal [-hjy] [[month] year]
cal [-hj] [-m month] [year]
ncal [-hJjpwy3MS] [-s country_code] [[month] year]
ncal [-hJeo] [year]
seems to work only via "ncal"
>>> unalias ncal
>>> ncal -M
December 2010
Mo 6 13
Not sure which version you are using but there is the new option '-M'
doing what '-m' did before.
--
cal -m doesn't work anymore
https://bugs.launchpad.net/bugs/604366
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs maili