On Mon, 27 Apr 2015, Yury Akudovich wrote:

> There is no way to start weeks on Monday now, but there should be on by
> docs.
> 
> >>From `man cal`:
>      -M      Weeks start on Monday.
> 
> Trying to execute:
> $ cal -M
> Usage: cal [general options] [-hjy] [[month] year]

ncal, however, knows about the option:

} weasel@defiant:~$ ncal -M
}     July 2015
} Mo     6 13 20 27
} Tu     7 14 21 28
} We  1  8 15 22 29
} Th  2  9 16 23 30
} Fr  3 10 17 24 31
} Sa  4 11 18 25
} Su  5 12 19 26

And ncal can be told to use cal formatting:

} weasel@defiant:~$ ncal -M -C
}      July 2015
} 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

Note, however, that the order is relevant

} weasel@defiant:~$ ncal -C -M
} Usage: cal [general options] [-hjy] [[month] year]
}        cal [general options] [-hj] [-m month] [year]

Fishy, please fix.
-- 
                           |  .''`.       ** Debian **
      Peter Palfrader      | : :' :      The  universal
 http://www.palfrader.org/ | `. `'      Operating System
                           |   `-    http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to