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

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


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
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]
$ ncal -M
    November 2011     
Mo     7 14 21 28   
Tu  1  8 15 22 29   
We  2  9 16 23 30   
Th  3 10 17 24      
Fr  4 11 18 25      
Sa  5 12 19 26      
Su  6 13 20 27

I get similar results with -S (works for ncal, doesn't for cal).

I am running Ubuntu 11.10

-- 
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