calaround:
Calendar Around date

usage: calaround
       or
       calaround -help

The month boundaries of standard calendars make getting the big picture around a certain date difficult. For example, the Unix cal program shows:

% cal
    October 2011
Su Mo Tu We Th Fr Sa
                   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

It is often useful to get the 'big picture' around a certain date. The calaround script does this:

<    September 2011
< Su Mo Tu We Th Fr Sa
<              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

=     October 2011
= Su Mo Tu We Th Fr Sa
=                    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

>    November 2011
> Su Mo Tu We Th Fr Sa
>        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
This shows the dates around the current one. The current date is underlined.

Source code

Google calendar discussion thread

color bar Small icon for Theory of Molecular Machines: physics,
chemistry, biology, molecular biology, evolutionary theory,
genetic engineering, sequence logos, information theory,
electrical engineering, thermodynamics, statistical
mechanics, hypersphere packing, gumball machines, Maxwell's
Daemon, limits of computers


Schneider Lab

origin: 2011 Oct 17
updated: 2011 Oct 17: origin
color bar