svn commit: r204479 - user/edwin/ncal

Roman Divacky rdivacky at FreeBSD.org
Mon Mar 1 07:54:07 UTC 2010


On Mon, Mar 01, 2010 at 09:16:53AM +1100, Edwin Groothuis wrote:
> On Sun, Feb 28, 2010 at 09:50:05PM +0100, Roman Divacky wrote:
> > On Sun, Feb 28, 2010 at 08:36:25PM +0000, Edwin Groothuis wrote:
> > > Author: edwin
> > > Date: Sun Feb 28 20:36:24 2010
> > > New Revision: 204479
> > > URL: http://svn.freebsd.org/changeset/base/204479
> > > 
> > > Log:
> > >   Do some work on ncal while we're at it.
> > 
> > I have a patch that implementes "cal -3" are you interested in it?
> 
> Sure. What does it do? :-)

it shows 3 months period - this month, month before and month after.

patch: vlakno.cz/~rdivacky/ncal.3months.patch

example:

lev ~/ncal$ ./ncal -3
    February 2010     March 2010        April 2010
Mo  1  8 15 22        1  8 15 22 29        5 12 19 26
Tu  2  9 16 23        2  9 16 23 30        6 13 20 27
We  3 10 17 24        3 10 17 24 31        7 14 21 28
Th  4 11 18 25        4 11 18 25        1  8 15 22 29
Fr  5 12 19 26        5 12 19 26        2  9 16 23 30
Sa  6 13 20 27        6 13 20 27        3 10 17 24
Su  7 14 21 28        7 14 21 28        4 11 18 25



More information about the svn-src-user mailing list