[Bug 604366] Re: cal -m doesn't work anymore

Michael Wayne Goodman goodman.m.w at gmail.com
Mon Nov 28 01:20:01 UTC 2011


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 13  
14 15 16 17 18 19 20  
21 22 23 24 25 26 27  
28 29 30              

Using ncal, the -M option starts the week on Monday, and the -C option
uses cal-style formatting.

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

Title:
  cal -m doesn't work anymore

Status in “bsdmainutils” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: bsdmainutils

  output of karmic version:
  ~>>> /media/karmic/usr/bin/cal -m
       July 2010
  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

  lucid version:
  ~>>> /usr/bin/cal -m
  /usr/bin/cal: option requires an argument -- 'm'
  usage: cal [-hjy] [[month] year]
         cal [-hj] [-m month] [year]
         ncal [-hJjpwy] [-s country_code] [[month] year]
         ncal [-hJeo] [year]

  in the manpage is no option for getting the start of
  week on monday anymore (like in karmic and before...)

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




More information about the foundations-bugs mailing list