Hi Ivan,
  Hmm this is a bit complicated; there are two things going on - and I'm not 
sure which cygwin do:

1) bsdmainutils uses an oldschool Unix trick to use the same binary for
cal and ncal; it decides what to do based on the name of the binary that
it was run as; I'm not sure if cygwin does the same thing or not.  Now,
if it's run as 'cal' it sets a backwards compatibility flag.

2) The -M option doesn't seem to be in the bsdmainutils by default, but
it comes from a patch in the debian package (ncal_mfdow.diff) and it has
the code:


+               case 'M':
+                       if (flag_backward)
+                               usage();
+                       weekstart = 1;
+                       break;

So the intention there is pretty clear it wants that when in backward
compatibility mode it wants to tell you M isn't supported.

So, not sure what cygwin uses.

Dave

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/908233

Title:
  cal -M (start week on Monday) don't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bsdmainutils/+bug/908233/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to